#include <bits/stdc++.h>
using namespace std;
const long double PI = 3.1415926535897932384626433832795;
const int MN = 100000 + 1;
int log(int x) {
  for (int i = 0;; i++) {
    if ((1 << i) > x) {
      return i - 1;
    }
  }
}
int main() {
  int n, p, b;
  scanf("%d%d%d", &n, &b, &p);
  int ab, ap;
  ab = ap = 0;
  ap = p * n;
  for (; n > 1;) {
    int l = (1 << log(n));
    ab += l * b + l / 2;
    n -= l / 2;
  }
  printf("%d %d\n", ab, ap);
  return 0;
}
