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