#include <bits/stdc++.h>
using namespace std;
long long int lift(long long int a, long long int b) {
  long long int g = 1;
  for (long long int i = 1; i <= b; i++) {
    g *= a;
  }
  return g;
}
long long int mini(long long int a, long long int b) { return (a < b) ? a : b; }
long long int maxi(long long int a, long long int b) { return (a > b) ? a : b; }
int gcd(int a, int b) {
  if (a < b) swap(a, b);
  if (b == 0)
    return a;
  else
    gcd(b, a % b);
}
int main() {
  int n, b, p;
  cin >> n >> b >> p;
  int x = 0, y = p * n;
  while (n > 1) {
    int k = -1, g = n;
    while (g) {
      g /= 2;
      k++;
    }
    k = lift(2, k - 1);
    x += (2 * k * b) + (k);
    n -= k;
  }
  cout << x << " " << y << endl;
}
