A.while((ch=getchar ())!='N')printf("%c",ch);
B.while(ch=getchar()!='N') printf("%c",ch);
C.while(ch=getchar()=='N') printf("%c",ch);
D.while((ch=getchar()) =='N')printf('%c',ch);