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