#include<stdio.h> char s[99];main(x,y,z){while(fgets(s,99,stdin))x=s[0],s[0]=s[z=strlen(s)-2],s[z]=x,printf(s);}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page