#include <bits/stdc++.h>
int main() {
  int n, b, p, i, a, c, s = 0, j, d = 0, flag = 0, glag = 1, cnt = 0;
  scanf("%d%d%d", &n, &b, &p);
  if (n == 1)
    flag = 1;
  else
    flag = 0;
  d = n;
  for (i = n; i >= 1; i--) {
    a = n / 2;
    s = s + (a * 2) * b + (n / 2) * 1;
    if (n % 2 != 0) cnt++;
    n = n / 2;
    if (n == 1) break;
  }
  c = d * p;
  if (flag == 0) {
    printf("%d %d", (s + (2 * b + 1) * cnt), c);
  } else
    printf("0 %d", c);
}
