import sequtils,strutils
var
    a,b : string
(a,b) = stdin.readline.split
echo @[b,a].join(" ")