0_0_37880041_21086.cpp: In function 'int main()': 0_0_37880041_21086.cpp:42:24: error: expected ';' before ')' token cout<<(ans-1+mod)%mod)<<endl; ^