#include <bits/stdc++.h>
using namespace std;
const int inf = 0x3f3f3f3f;
int Log[100001];
int n, b, p;
int ans1 = 0;
int main() {
  scanf("%d %d %d", &n, &b, &p);
  int ans2 = p * n;
  for (int i = 2; i <= 1000; i++) Log[i] = Log[i >> 1] + 1;
  for (;;) {
    if (n == 1) break;
    int tmp = Log[n];
    n -= (1 << (tmp - 1));
    ans1 += (1 << (tmp - 1)) * (2 * b + 1);
  }
  printf("%d %d\n", ans1, ans2);
  return 0;
}
