a, b = gets.chomp.split(' ') puts "#{b} #{a}"