0_0_33599814_9501.cpp: In function 'int main()': 0_0_33599814_9501.cpp:122:26: error: 'an' was not declared in this scope ans =an % mod + mod; ^