#include <bits/stdc++.h>
using namespace std;
long long power(long long a, long long b) {
  long long ans = 1;
  for (long long i = 1; i <= b; i++) ans *= a;
  return ans;
}
int main() {
  long long n, b, p;
  scanf("%I64d%I64d%I64d", &n, &b, &p);
  long long ans2 = n * p;
  if (n == 1) {
    cout << 0 << ' ' << ans2;
    return 0;
  }
  long long ans1 = 0;
  long long extra = 0;
  long long match = 0;
  while (1) {
    long long temp = 1;
    while (1) {
      if (temp > n) break;
      temp = temp << 1;
    }
    temp = temp >> 1;
    extra = n - temp;
    match = temp / 2;
    ans1 += temp * b + match;
    n = match + extra;
    if (match == 1 && extra == 0) break;
  }
  cout << ans1 << ' ' << ans2;
  return 0;
}
