#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, b, p, water, cloth;
  cin >> n >> b >> p;
  water = (n - 1) * 2 * b + n - 1;
  cloth = n * p;
  cout << water << " " << cloth;
  return 0;
}
