0_0_26437391_8026.cpp: In function 'int main()': 0_0_26437391_8026.cpp:6:3: error: expected initializer before 'while' while(scanf("%d",&n)!=EOF) ^ 0_0_26437391_8026.cpp:23:1: error: expected '}' at end of input } ^