0_0_35536836_31824.cpp: In function 'int main()': 0_0_35536836_31824.cpp:34:19: error: expected '}' at end of input while(gets(s)){ ^ 0_0_35536836_31824.cpp:34:19: error: expected '}' at end of input