#include <bits/stdc++.h>
using namespace std;
long long bin(long long x, long long n) {
  long long res = 1;
  x %= 1000000007;
  while (n) {
    if (n & 1) res = (res * x) % 1000000007;
    x = (x * x) % 1000000007;
    n >>= 1;
  }
  return res;
}
void solve() {
  long long n, b, p;
  cin >> n >> b >> p;
  long long cur = n;
  long long bottles = 0;
  while (cur > 1) {
    long long rounds = log2(cur);
    rounds = pow(2, rounds);
    bottles += b * rounds;
    bottles += rounds / 2;
    cur -= rounds / 2;
  }
  cout << bottles << " " << n * p << '\n';
}
signed main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  long long t = 1;
  for (long long i = 1; i <= t; i++) {
    solve();
  }
}
