#include <bits/stdc++.h>
int main() {
  int n, b, p, a, count = 0, m, t;
  scanf("%d%d%d", &n, &b, &p);
  t = n * p;
  while (n > 1) {
    a = n / 2;
    m = n % 2;
    n = a + m;
    count += (2 * b + 1) * a;
  }
  printf("%d %d", count, t);
  return 0;
}
