#include <bits/stdc++.h>
const int inf = (1 << 30) - 10;
using namespace std;
inline int get_int() {
  int r = 0;
  char c;
  while ((c = getchar()) != ' ' && c != '\n') r = r * 10 + c - '0';
  return r;
}
inline void out(int x) {
  if (x > 10) {
    out(x / 10);
  }
  putchar(x % 10 + '0');
  putchar('\n');
}
int main() {
  int n, a, b, l, m, p;
  scanf("%d%d%d", &n, &a, &b);
  m = 0;
  l = n;
  p = n;
  while (n > 1) {
    n /= 2;
    m += n;
    l = l - n;
    n = l;
  }
  printf("%d %d\n", m * a * 2 + m, p * b);
  return 0;
}
