0_0_30767814_15516.cpp: In function 'int main()': 0_0_30767814_15516.cpp:27:23: error: expected '}' at end of input scanf("%d",&n); ^ 0_0_30767814_15516.cpp:27:23: error: expected '}' at end of input