0_0_33039707_17769.cpp: In function 'int main()': 0_0_33039707_17769.cpp:9:49: error: expected ';' before 'mod' for(int i=2;i<=n;i++) v[i]=(v[i-1]*a+v[i-2]*b) mod 7; ^