#include <bits/stdc++.h>
int main() {
  long long int n, b, p, cntm = 0, i, j, k, cntt = 0, x, z, y;
  scanf("%lld%lld%lld", &n, &b, &p);
  cntt = n * p;
  x = 0, z = 0, y = 0;
  while (n > 1) {
    x = 0;
    i = 1;
    while (1) {
      x = pow(2, i);
      i++;
      if (x > n) {
        x = x / 2;
        break;
      }
    }
    cntm += (x / 2);
    n = (x / 2) + (n - x);
    if (n == 1) break;
  }
  if (cntm > 0) {
    j = 2 * b + 1;
    cntm = cntm * j;
  }
  printf("%lld %lld\n", cntm, cntt);
  return 0;
}
