// The type of parameters when overriding a method must match the overridden method

class Other {
	void action(int num) {
		write(num);
	}
}

class Main extends Other{
	void action(boolean name) {
		if (name) {
			writeln();
		}
	}

	void main() {}
}