#include <stdio.h> #include <string.h> long Fact (int n) { int i; long result =1; for (i=2; i<=n; i++) result *= i; return result; } int main() { int n; scanf("%d", &n); for (int i = 1; i <= n; i += 2) { printf("%d! = %d\n", i, Fact(i)); } return 0; }