#include <bits/stdc++.h>
int main() {
  int a, b, c, n = 0, i;
  std::cin >> a >> b >> c;
  for (i = a; i <= b; i++) {
    if (c % i == 0) n++;
  }
  std::cout << a << i << c << n << std::endl;
  return 0;
}
