print"$System.in".replaceAll(/(...)( \W\S ) /,/ $2$1/)