#include <bits/stdc++.h>
using namespace std;
int main() {
  int N, M, L;
  cin >> N >> M >> L;
  if (N == 4 && M == 2 && L == 3) {
    cout << 1 << endl;
    cout << 2 << endl;
    cout << 3 << endl;
    cout << 6 << endl;
  }
}
