import java.util.Scanner;
public class Main {
    public static void main(String args[]) {
        Scanner s = new Scanner(System.in);
 
        String a = s.next();
        String b = s.next();
        String c = s.next();
        String tempStr = "";
 
        tempStr = a;
        a = b;
        b = tempStr;
        tempStr = a;
        a = c;
        c = tempStr;
        System.out.println(a + " " + b + " " + c);
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String args[]) {
        Scanner s = new Scanner(System.in);
 
        String a = s.next();
        String b = s.next();
        String c = s.next();
        String tempStr = "";
 
        tempStr = a;
        a = b;
        b = tempStr;
        tempStr = a;
        a = c;
        c = tempStr;
        System.out.println(a + " " + b + " " + c);
    }
} Main public static void main(String args[]) {
        Scanner s = new Scanner(System.in);
 
        String a = s.next();
        String b = s.next();
        String c = s.next();
        String tempStr = "";
 
        tempStr = a;
        a = b;
        b = tempStr;
        tempStr = a;
        a = c;
        c = tempStr;
        System.out.println(a + " " + b + " " + c);
    } main {
        Scanner s = new Scanner(System.in);
 
        String a = s.next();
        String b = s.next();
        String c = s.next();
        String tempStr = "";
 
        tempStr = a;
        a = b;
        b = tempStr;
        tempStr = a;
        a = c;
        c = tempStr;
        System.out.println(a + " " + b + " " + c);
    } Scanner s = new Scanner(System.in); s new Scanner(System.in) String a = s.next(); a s.next() s.next s String b = s.next(); b s.next() s.next s String c = s.next(); c s.next() s.next s String tempStr = ""; tempStr "" tempStr = a tempStr a a = b a b b = tempStr b tempStr tempStr = a tempStr a a = c a c c = tempStr c tempStr 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 s = new Scanner(System.in);
 
        String a = s.next();
        String b = s.next();
        String c = s.next();
        String tempStr = "";
 
        tempStr = a;
        a = b;
        b = tempStr;
        tempStr = a;
        a = c;
        c = tempStr;
        System.out.println(a + " " + b + " " + c);
    }
} public class Main {
    public static void main(String args[]) {
        Scanner s = new Scanner(System.in);
 
        String a = s.next();
        String b = s.next();
        String c = s.next();
        String tempStr = "";
 
        tempStr = a;
        a = b;
        b = tempStr;
        tempStr = a;
        a = c;
        c = tempStr;
        System.out.println(a + " " + b + " " + c);
    }
} Main
import java.util.Scanner;
public class Main {
    public static void main(String args[]) {
        Scanner s = new Scanner(System.in);
 
        String a = s.next();
        String b = s.next();
        String c = s.next();
        String tempStr = "";
 
        tempStr = a;
        a = b;
        b = tempStr;
        tempStr = a;
        a = c;
        c = tempStr;
        System.out.println(a + " " + b + " " + c);
    }
}