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