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