int f(int n) { int a=1; for (int i=0; i