import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        String S = "";
        Scanner sc = new Scanner(System.in);
        S = sc.nextLine();
        String[] S1 = S.split(" ");
        System.out.println(S1[S1.length - 1]+" "+S1[0]+ " "+ S1[1]);
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        String S = "";
        Scanner sc = new Scanner(System.in);
        S = sc.nextLine();
        String[] S1 = S.split(" ");
        System.out.println(S1[S1.length - 1]+" "+S1[0]+ " "+ S1[1]);
    }
} Main public static void main(String[] args) {
        String S = "";
        Scanner sc = new Scanner(System.in);
        S = sc.nextLine();
        String[] S1 = S.split(" ");
        System.out.println(S1[S1.length - 1]+" "+S1[0]+ " "+ S1[1]);
    } main {
        String S = "";
        Scanner sc = new Scanner(System.in);
        S = sc.nextLine();
        String[] S1 = S.split(" ");
        System.out.println(S1[S1.length - 1]+" "+S1[0]+ " "+ S1[1]);
    } String S = ""; S "" Scanner sc = new Scanner(System.in); sc new Scanner(System.in) S = sc.nextLine() S sc.nextLine() sc.nextLine sc String[] S1 = S.split(" "); S1 S.split(" ") S.split S " " System.out.println(S1[S1.length - 1]+" "+S1[0]+ " "+ S1[1]) System.out.println System.out System System.out S1[S1.length - 1]+" "+S1[0]+ " "+ S1[1] " " S1[0] S1[S1.length - 1]+" "+S1[0]+ " "+ S1[1] S1[S1.length - 1] S1 S1.length - 1 S1.length S1 S1.length 1 " " S1[0] S1 0 " " S1[1] S1 1 String[] args args public class Main {
    public static void main(String[] args) {
        String S = "";
        Scanner sc = new Scanner(System.in);
        S = sc.nextLine();
        String[] S1 = S.split(" ");
        System.out.println(S1[S1.length - 1]+" "+S1[0]+ " "+ S1[1]);
    }
} public class Main {
    public static void main(String[] args) {
        String S = "";
        Scanner sc = new Scanner(System.in);
        S = sc.nextLine();
        String[] S1 = S.split(" ");
        System.out.println(S1[S1.length - 1]+" "+S1[0]+ " "+ S1[1]);
    }
} Main
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        String S = "";
        Scanner sc = new Scanner(System.in);
        S = sc.nextLine();
        String[] S1 = S.split(" ");
        System.out.println(S1[S1.length - 1]+" "+S1[0]+ " "+ S1[1]);
    }
}
