#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using P = pair<int, int>;
int main() {
  int a, b;
  cin >> a >> b;
  cout << a << endl << b << endl;
  b = b + a * 3;
  cout << b / 2;
}
