0_0_20355419_10643.cpp: In function 'int main()': 0_0_20355419_10643.cpp:43:2: error: expected initializer before 'while' while(cin>>n){ ^