// // File: fs.cc // Author: cteam008 // // Created on October 19, 2013, 10:50 AM // #include <stdlib.h> #include <stdio.h> #include <iostream> using namespace std; // // // int main(int argc, char** argv) { int n,counter; char c; while (cin >> counter >> c >> n) { counter = 0; for (int y = n+1; y <= 2*n; y++) { if ((n*y)%(y-n)==0) { counter++; } } cout << counter << endl; } return (EXIT_SUCCESS); }