import java.util.*;

class Main {
    public static void main(String args[]) {
        Scanner sc = new Scanner(System.in);
        
        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();
        
        System.out.printf("%d ", c);
        System.out.printf("%d ", a);
        System.out.print(b);
        
    }
} import java.util.*; util.* java class Main {
    public static void main(String args[]) {
        Scanner sc = new Scanner(System.in);
        
        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();
        
        System.out.printf("%d ", c);
        System.out.printf("%d ", a);
        System.out.print(b);
        
    }
} Main public static void main(String args[]) {
        Scanner sc = new Scanner(System.in);
        
        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();
        
        System.out.printf("%d ", c);
        System.out.printf("%d ", a);
        System.out.print(b);
        
    } main {
        Scanner sc = new Scanner(System.in);
        
        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();
        
        System.out.printf("%d ", c);
        System.out.printf("%d ", a);
        System.out.print(b);
        
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int a = sc.nextInt(); a sc.nextInt() sc.nextInt sc int b = sc.nextInt(); b sc.nextInt() sc.nextInt sc int c = sc.nextInt(); c sc.nextInt() sc.nextInt sc System.out.printf("%d ", c) System.out.printf System.out System System.out "%d " c System.out.printf("%d ", a) System.out.printf System.out System System.out "%d " a System.out.print(b) System.out.print System.out System System.out b String args[] args
import java.util.*;

class Main {
    public static void main(String args[]) {
        Scanner sc = new Scanner(System.in);
        
        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();
        
        System.out.printf("%d ", c);
        System.out.printf("%d ", a);
        System.out.print(b);
        
    }
}