class largernumber{
	public static void main(String[] args) {
		int x=500, y=70, z=3000;
		if (x>y){
			if (x>z){
				System.out.println("x is greater");
			}
			else{
				if(z>y){
					System.out.println("z is greater"); 
				}
				else{
					System.out.println("y is greater");
				}
			}
		}
		else{
			if (y>z){
				System.out.println("y is greater");
			}
		}
	}
}