System.in.eachLine{s=it[it.size()/2..-1];println it-s+" $s"}