import java.util.*;
public class Main {
    public static void main(String[] args) throws Exception {
        String[] lines = getStdin();
        
        String[] str = lines[0].split(" ");
        
        String tmp = str[0];
        String tmp1 = str[1];
        String tmp2 = str[2];
        
        str[0] = str[1];
        str[1] = tmp;
        str[0] = str[2];
        str[2] = tmp1;
            for (int i = 0; i < str.length; i++){
                 System.out.print(str[i] + " ");
            }
       
   }
  private static String[] getStdin() {
    Scanner scanner = new Scanner(System.in);
    ArrayList<String> lines = new ArrayList<>();
    while (scanner.hasNext()) {
      lines.add(scanner.nextLine());
    }
    return lines.toArray(new String[lines.size()]);
  }
} import java.util.*; util.* java public class Main {
    public static void main(String[] args) throws Exception {
        String[] lines = getStdin();
        
        String[] str = lines[0].split(" ");
        
        String tmp = str[0];
        String tmp1 = str[1];
        String tmp2 = str[2];
        
        str[0] = str[1];
        str[1] = tmp;
        str[0] = str[2];
        str[2] = tmp1;
            for (int i = 0; i < str.length; i++){
                 System.out.print(str[i] + " ");
            }
       
   }
  private static String[] getStdin() {
    Scanner scanner = new Scanner(System.in);
    ArrayList<String> lines = new ArrayList<>();
    while (scanner.hasNext()) {
      lines.add(scanner.nextLine());
    }
    return lines.toArray(new String[lines.size()]);
  }
} Main public static void main(String[] args) throws Exception {
        String[] lines = getStdin();
        
        String[] str = lines[0].split(" ");
        
        String tmp = str[0];
        String tmp1 = str[1];
        String tmp2 = str[2];
        
        str[0] = str[1];
        str[1] = tmp;
        str[0] = str[2];
        str[2] = tmp1;
            for (int i = 0; i < str.length; i++){
                 System.out.print(str[i] + " ");
            }
       
   } main {
        String[] lines = getStdin();
        
        String[] str = lines[0].split(" ");
        
        String tmp = str[0];
        String tmp1 = str[1];
        String tmp2 = str[2];
        
        str[0] = str[1];
        str[1] = tmp;
        str[0] = str[2];
        str[2] = tmp1;
            for (int i = 0; i < str.length; i++){
                 System.out.print(str[i] + " ");
            }
       
   } String[] lines = getStdin(); lines getStdin() getStdin String[] str = lines[0].split(" "); str lines[0].split(" ") lines[0].split lines[0] lines 0 " " String tmp = str[0]; tmp str[0] str 0 String tmp1 = str[1]; tmp1 str[1] str 1 String tmp2 = str[2]; tmp2 str[2] str 2 str[0] = str[1] str[0] str 0 str[1] str 1 str[1] = tmp str[1] str 1 tmp str[0] = str[2] str[0] str 0 str[2] str 2 str[2] = tmp1 str[2] str 2 tmp1 for (int i = 0; i < str.length; i++){
                 System.out.print(str[i] + " ");
            } int i = 0; int i = 0; i 0 i < str.length i str.length str str.length i++ i++ i {
                 System.out.print(str[i] + " ");
            } {
                 System.out.print(str[i] + " ");
            } System.out.print(str[i] + " ") System.out.print System.out System System.out str[i] + " " str[i] str i " " String[] args args private static String[] getStdin() {
    Scanner scanner = new Scanner(System.in);
    ArrayList<String> lines = new ArrayList<>();
    while (scanner.hasNext()) {
      lines.add(scanner.nextLine());
    }
    return lines.toArray(new String[lines.size()]);
  } getStdin {
    Scanner scanner = new Scanner(System.in);
    ArrayList<String> lines = new ArrayList<>();
    while (scanner.hasNext()) {
      lines.add(scanner.nextLine());
    }
    return lines.toArray(new String[lines.size()]);
  } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) ArrayList<String> lines = new ArrayList<>(); lines new ArrayList<>() while (scanner.hasNext()) {
      lines.add(scanner.nextLine());
    } scanner.hasNext() scanner.hasNext scanner {
      lines.add(scanner.nextLine());
    } lines.add(scanner.nextLine()) lines.add lines scanner.nextLine() scanner.nextLine scanner return lines.toArray(new String[lines.size()]); lines.toArray(new String[lines.size()]) lines.toArray lines new String[lines.size()] lines.size() lines.size lines public class Main {
    public static void main(String[] args) throws Exception {
        String[] lines = getStdin();
        
        String[] str = lines[0].split(" ");
        
        String tmp = str[0];
        String tmp1 = str[1];
        String tmp2 = str[2];
        
        str[0] = str[1];
        str[1] = tmp;
        str[0] = str[2];
        str[2] = tmp1;
            for (int i = 0; i < str.length; i++){
                 System.out.print(str[i] + " ");
            }
       
   }
  private static String[] getStdin() {
    Scanner scanner = new Scanner(System.in);
    ArrayList<String> lines = new ArrayList<>();
    while (scanner.hasNext()) {
      lines.add(scanner.nextLine());
    }
    return lines.toArray(new String[lines.size()]);
  }
} public class Main {
    public static void main(String[] args) throws Exception {
        String[] lines = getStdin();
        
        String[] str = lines[0].split(" ");
        
        String tmp = str[0];
        String tmp1 = str[1];
        String tmp2 = str[2];
        
        str[0] = str[1];
        str[1] = tmp;
        str[0] = str[2];
        str[2] = tmp1;
            for (int i = 0; i < str.length; i++){
                 System.out.print(str[i] + " ");
            }
       
   }
  private static String[] getStdin() {
    Scanner scanner = new Scanner(System.in);
    ArrayList<String> lines = new ArrayList<>();
    while (scanner.hasNext()) {
      lines.add(scanner.nextLine());
    }
    return lines.toArray(new String[lines.size()]);
  }
} Main
import java.util.*;
public class Main {
    public static void main(String[] args) throws Exception {
        String[] lines = getStdin();
        
        String[] str = lines[0].split(" ");
        
        String tmp = str[0];
        String tmp1 = str[1];
        String tmp2 = str[2];
        
        str[0] = str[1];
        str[1] = tmp;
        str[0] = str[2];
        str[2] = tmp1;
            for (int i = 0; i < str.length; i++){
                 System.out.print(str[i] + " ");
            }
       
   }
  private static String[] getStdin() {
    Scanner scanner = new Scanner(System.in);
    ArrayList<String> lines = new ArrayList<>();
    while (scanner.hasNext()) {
      lines.add(scanner.nextLine());
    }
    return lines.toArray(new String[lines.size()]);
  }
}