0_0_14895770_5928.cpp: In function 'int main()': 0_0_14895770_5928.cpp:16:38: error: expected primary-expression before ')' token while(scanf("%d",&n)!=EOF&&n!=-1-) ^