import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner tan = new Scanner(System.in);
        int a,b,c,d=0,e=0;
        a=tan.nextInt();
        b=tan.nextInt();
        c=tan.nextInt();
        d=a;
        a=b;
        b=d;
        d=a;
        a=c;
        c=d;
        System.out.println(a+" "+b+" "+c);
    }
   
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        Scanner tan = new Scanner(System.in);
        int a,b,c,d=0,e=0;
        a=tan.nextInt();
        b=tan.nextInt();
        c=tan.nextInt();
        d=a;
        a=b;
        b=d;
        d=a;
        a=c;
        c=d;
        System.out.println(a+" "+b+" "+c);
    }
   
} Main public static void main(String[] args) {
        Scanner tan = new Scanner(System.in);
        int a,b,c,d=0,e=0;
        a=tan.nextInt();
        b=tan.nextInt();
        c=tan.nextInt();
        d=a;
        a=b;
        b=d;
        d=a;
        a=c;
        c=d;
        System.out.println(a+" "+b+" "+c);
    } main {
        Scanner tan = new Scanner(System.in);
        int a,b,c,d=0,e=0;
        a=tan.nextInt();
        b=tan.nextInt();
        c=tan.nextInt();
        d=a;
        a=b;
        b=d;
        d=a;
        a=c;
        c=d;
        System.out.println(a+" "+b+" "+c);
    } Scanner tan = new Scanner(System.in); tan new Scanner(System.in) int a a b b c c d=0 d 0 e=0; e 0 a=tan.nextInt() a tan.nextInt() tan.nextInt tan b=tan.nextInt() b tan.nextInt() tan.nextInt tan c=tan.nextInt() c tan.nextInt() tan.nextInt tan d=a d a a=b a b b=d b d d=a d a a=c a c c=d c d System.out.println(a+" "+b+" "+c) System.out.println System.out System System.out a+" "+b+" "+c " " b a+" "+b+" "+c a " " b " " c String[] args args public class Main {
    public static void main(String[] args) {
        Scanner tan = new Scanner(System.in);
        int a,b,c,d=0,e=0;
        a=tan.nextInt();
        b=tan.nextInt();
        c=tan.nextInt();
        d=a;
        a=b;
        b=d;
        d=a;
        a=c;
        c=d;
        System.out.println(a+" "+b+" "+c);
    }
   
} public class Main {
    public static void main(String[] args) {
        Scanner tan = new Scanner(System.in);
        int a,b,c,d=0,e=0;
        a=tan.nextInt();
        b=tan.nextInt();
        c=tan.nextInt();
        d=a;
        a=b;
        b=d;
        d=a;
        a=c;
        c=d;
        System.out.println(a+" "+b+" "+c);
    }
   
} Main
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner tan = new Scanner(System.in);
        int a,b,c,d=0,e=0;
        a=tan.nextInt();
        b=tan.nextInt();
        c=tan.nextInt();
        d=a;
        a=b;
        b=d;
        d=a;
        a=c;
        c=d;
        System.out.println(a+" "+b+" "+c);
    }
   
}
