# -*- coding: utf-8 -*- a,b = input().split() print(b,a)