0_0_17607151_12437.cpp: In function 'int main()': 0_0_17607151_12437.cpp:6:2: error: expected unqualified-id before 'while' while(scanf("%d",&n)!=EOF) ^ 0_0_17607151_12437.cpp:18:1: error: expected '}' at end of input } ^