import java.util.*;
import java.io.*;
class Main{

    public static void main(String []args) throws Exception {
        //BufferedReader inp = new BufferedReader(new InputStreamReader(System.in));
        Scanner sc = new Scanner(System.in);
        String [] str = sc.nextLine().split(" ");
        int a = Integer.parseInt(str[0]);
        int b = Integer.parseInt(str[1]);
        int c = Integer.parseInt(str[2]);
        int temp = b;
        b = a;
        a = temp;
        temp = c;
        c= a;
        a = temp;
        System.out.println(a + " " + b + " " + c);
        
    }
} import java.util.*; util.* java import java.io.*; io.* java class Main{

    public static void main(String []args) throws Exception {
        //BufferedReader inp = new BufferedReader(new InputStreamReader(System.in));
        Scanner sc = new Scanner(System.in);
        String [] str = sc.nextLine().split(" ");
        int a = Integer.parseInt(str[0]);
        int b = Integer.parseInt(str[1]);
        int c = Integer.parseInt(str[2]);
        int temp = b;
        b = a;
        a = temp;
        temp = c;
        c= a;
        a = temp;
        System.out.println(a + " " + b + " " + c);
        
    }
} Main public static void main(String []args) throws Exception {
        //BufferedReader inp = new BufferedReader(new InputStreamReader(System.in));
        Scanner sc = new Scanner(System.in);
        String [] str = sc.nextLine().split(" ");
        int a = Integer.parseInt(str[0]);
        int b = Integer.parseInt(str[1]);
        int c = Integer.parseInt(str[2]);
        int temp = b;
        b = a;
        a = temp;
        temp = c;
        c= a;
        a = temp;
        System.out.println(a + " " + b + " " + c);
        
    } main {
        //BufferedReader inp = new BufferedReader(new InputStreamReader(System.in));
        Scanner sc = new Scanner(System.in);
        String [] str = sc.nextLine().split(" ");
        int a = Integer.parseInt(str[0]);
        int b = Integer.parseInt(str[1]);
        int c = Integer.parseInt(str[2]);
        int temp = b;
        b = a;
        a = temp;
        temp = c;
        c= a;
        a = temp;
        System.out.println(a + " " + b + " " + c);
        
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String [] str = sc.nextLine().split(" "); str sc.nextLine().split(" ") sc.nextLine().split sc.nextLine() sc.nextLine sc " " int a = Integer.parseInt(str[0]); a Integer.parseInt(str[0]) Integer.parseInt Integer str[0] str 0 int b = Integer.parseInt(str[1]); b Integer.parseInt(str[1]) Integer.parseInt Integer str[1] str 1 int c = Integer.parseInt(str[2]); c Integer.parseInt(str[2]) Integer.parseInt Integer str[2] str 2 int temp = b; temp b b = a b a a = temp a temp temp = c temp c c= a c a a = temp a temp 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
import java.util.*;
import java.io.*;
class Main{

    public static void main(String []args) throws Exception {
        //BufferedReader inp = new BufferedReader(new InputStreamReader(System.in));
        Scanner sc = new Scanner(System.in);
        String [] str = sc.nextLine().split(" ");
        int a = Integer.parseInt(str[0]);
        int b = Integer.parseInt(str[1]);
        int c = Integer.parseInt(str[2]);
        int temp = b;
        b = a;
        a = temp;
        temp = c;
        c= a;
        a = temp;
        System.out.println(a + " " + b + " " + c);
        
    }
}