public class LeftRotation {
	public static void main(String [] args) {
		int x = 1, y = 2, z = 3;

		System.out.print("Left rotation: " + x + " " + y + " " + z);

		int temp = x;
		x = y;
		y = z;
		z = temp;

		System.out.println(" -> " + x + " " + y + " " + z);
	}
}
