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