#include #include void main() { int i,j,n; int flag=0; char ar[50]; scanf("%s",ar); n=strlen(ar); for(i=0; i