#include <bits/stdc++.h>
using namespace std;
const double eps = 1e-8;
inline int max(int a, int b) { return a < b ? b : a; }
inline int min(int a, int b) { return a > b ? b : a; }
inline long long max(long long a, long long b) { return a < b ? b : a; }
inline long long min(long long a, long long b) { return a > b ? b : a; }
const int mod = 1e9 + 7;
const int N = 1e6 + 10;
const long long inf = 1e18;
long long power(long long a, long long n) {
  if (n == 0) {
    return 1;
  }
  long long b = power(a, n / 2);
  b = b * b % mod;
  if (n % 2) b = b * a % mod;
  return b;
}
int add(int a, int b) { return (a + b) % mod; }
int mul(int a, int b) { return (long long)a * b % mod; }
int main() {
  int n, b, p;
  scanf("%d %d %d", &n, &b, &p);
  int n1 = n;
  long long ans = 0;
  while (n1 > 1) {
    int s = 1;
    while (s <= n1) s *= 2;
    s /= 2;
    ans += s * b + s / 2;
    n1 = n1 - s + s / 2;
  }
  printf("%lld %d\n", ans, p * n);
  return 0;
}
