#include <bits/stdc++.h>
using namespace std;
long long int power(int i) {
  long long int p = 1;
  while (i--) p *= 2;
  return p;
}
int main() {
  int n, b, p, i, j;
  long long int bt = 0, tt = 0, pw, m, k;
  cin >> n >> b >> p;
  tt = (p * n);
  while (n != 1) {
    i = 1;
    while (power(i) <= n) i++;
    k = power(--i);
    bt += (k * b);
    bt += (k / 2);
    n -= (k / 2);
  }
  cout << bt << ' ' << tt;
  return 0;
}
