#include <iostream>
#include <cstdlib>

using namespace std;

int main(int argc, char** argv) {
  if (argc != 3) {
    cout << "Usage: " << argv[0] << " number size" << endl;
    return 1;
  }

  int num = atoi(argv[1]);
  int size = atoi(argv[2]);
  int* arr;

  for (int i=0; i<num; ++i) {
    cout << i << endl;
    arr = new int[size];
    for (int j=0; j<size; ++j)
      arr[j] = 0;
  }

  int x;
  cin >> x;

  return 0;
}