System.in.eachLine{a=it[it.count>>1..-1];println"$it $a"-a}