#include <bits/stdc++.h>
using namespace std;
int main() {
  int a, b, c;
  cin >> a, b, c;
  int sum = 0;
  for (int i = a; a <= b; a++) {
    if (b % a == 0) sum += 1;
  }
  cout << a << ' ' << b << ' ' << sum << endl;
}
