import java.util.Scanner;

class Main {

    public static void main(String[] args) {
        Scanner stdIn=new Scanner(System.in);
        
        int a=stdIn.nextInt();
        int b=stdIn.nextInt();
        int c=stdIn.nextInt();

        int t=a;
        a=b;
        b=t;
        t=a;
        a=c;
        c=t;

        System.out.println(a);
        System.out.println(b);
        System.out.print(c);
        
        
        
    }

} import java.util.Scanner; Scanner java.util class Main {

    public static void main(String[] args) {
        Scanner stdIn=new Scanner(System.in);
        
        int a=stdIn.nextInt();
        int b=stdIn.nextInt();
        int c=stdIn.nextInt();

        int t=a;
        a=b;
        b=t;
        t=a;
        a=c;
        c=t;

        System.out.println(a);
        System.out.println(b);
        System.out.print(c);
        
        
        
    }

} Main public static void main(String[] args) {
        Scanner stdIn=new Scanner(System.in);
        
        int a=stdIn.nextInt();
        int b=stdIn.nextInt();
        int c=stdIn.nextInt();

        int t=a;
        a=b;
        b=t;
        t=a;
        a=c;
        c=t;

        System.out.println(a);
        System.out.println(b);
        System.out.print(c);
        
        
        
    } main {
        Scanner stdIn=new Scanner(System.in);
        
        int a=stdIn.nextInt();
        int b=stdIn.nextInt();
        int c=stdIn.nextInt();

        int t=a;
        a=b;
        b=t;
        t=a;
        a=c;
        c=t;

        System.out.println(a);
        System.out.println(b);
        System.out.print(c);
        
        
        
    } Scanner stdIn=new Scanner(System.in); stdIn new Scanner(System.in) int a=stdIn.nextInt(); a stdIn.nextInt() stdIn.nextInt stdIn int b=stdIn.nextInt(); b stdIn.nextInt() stdIn.nextInt stdIn int c=stdIn.nextInt(); c stdIn.nextInt() stdIn.nextInt stdIn int t=a; t a a=b a b b=t b t t=a t a a=c a c c=t c t System.out.println(a) System.out.println System.out System System.out a System.out.println(b) System.out.println System.out System System.out b System.out.print(c) System.out.print System.out System System.out c String[] args args
import java.util.Scanner;

class Main {

    public static void main(String[] args) {
        Scanner stdIn=new Scanner(System.in);
        
        int a=stdIn.nextInt();
        int b=stdIn.nextInt();
        int c=stdIn.nextInt();

        int t=a;
        a=b;
        b=t;
        t=a;
        a=c;
        c=t;

        System.out.println(a);
        System.out.println(b);
        System.out.print(c);
        
        
        
    }

}