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