/**
 *	name	  :
 *	matric no.:
 */

import java.util.*;

class Game {

	public static void main(String[] args){
		// declare the necessary variables

		// declare a Scanner object to read input

		// read input and process them accordingly

		// simulate the problem

		// output the result
	}
}

class Square {
	protected double value;

	// declare more attributes if necessary

	// declare the constructor

	// changePoints: a method to change points
	// Do not modify the header of this function
	public double changePoints(double curPoints) {
		// implementation
		return 0.0;
	}

}

class SpecialSquare extends Square {
	private double multiplier;

	// declare more attributes if necessary

	// declare the constructor

	// changePoints: a method to change points
	// Do not modify the header of this function
	public double changePoints(double curPoints) {
		// implementation
		return 0.0;
	}
}

