#include <bits/stdc++.h>
using namespace std;
const long long INF = 1e18, MAXN = 1e6 + 100, MOD = 1e9 + 7;
long long sum1, sum2, n, d, p;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  cin >> n >> d >> p;
  sum2 = p * n;
  while (n != 1) {
    int k = 1;
    while (1) {
      if (k * 2 > n)
        break;
      else
        k *= 2;
    }
    sum1 += d * k + k / 2;
    n -= k / 2;
  }
  cout << sum1 << " " << sum2;
}
