#include <bits/stdc++.h>
using namespace std;
int n, b, p;
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  cin >> n >> b >> p;
  int tmp = n;
  int cnt = 0;
  while (tmp > 1) {
    cnt += tmp / 2 + (tmp % 2 != 0);
    tmp /= 2;
  }
  cout << cnt * (2 * b + 1) << ' ' << p * n << '\n';
  return 0;
}
