#include <stdio.h> int main(void) { int N; char a; scanf("%d",&N); a = getc(stdin); printf("%c", a); if(a=='\n'){ printf("hi"); } return 0;}
5 OOXXOXXOOO OOXXOOXXOO OXOXOXOXOXOXOX OOOOOOOOOO OOOOXOOOOXOOOOX
hi
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!