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