#include <bits/stdc++.h>
int main() {
  int n, b, p, player, bottle = 0, carry, match, keep, ct = 0;
  scanf("%d%d%d", &n, &b, &p);
  player = n;
  match = b * 2 + 1;
  while (n > 1) {
    carry = n % 2;
    n = n / 2;
    bottle = bottle + match * n;
    if (carry == 1) {
      n = n + 1;
      carry = 0;
    }
  }
  printf("%d %d\n", bottle, p * player);
  return 0;
}
