#include <iostream>
using namespace std;


int factor_mes_gran(int n);


int main() {
  int n;
  while (cin >> n) cout << factor_mes_gran(n) << endl;
  return 0;
}
