#include <bits/stdc++.h>
using namespace std;
const int MAXN = 100005;
const int mod = 1e9 + 7;
long long exp(long long a, long long b) {
  long long ans = 1;
  while (b != 0) {
    if (b % 2) ans = ans * a;
    a = a * a;
    b /= 2;
  }
  return ans;
}
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  long long n, b, p;
  cin >> n >> b >> p;
  long long tow = n * p, bot = 0;
  ;
  while (n != 1) {
    long long k = log2(n);
    long long pl = exp(2, k);
    bot += b * pl + (pl / 2);
    n -= pl;
    n += pl / 2;
  }
  cout << bot << " " << tow << endl;
  return 0;
}
