import java.util.Scanner; public class Main7 { public static void main(String[] args) { Scanner kb=new Scanner(System.in); String a=kb.next(); String b=kb.next(); System.out.println(b+" "+a); } }