a, b = gets.split puts "#{b} #{a}"