#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, m, b, p, x, y;
  cin >> n >> b >> p;
  m = n;
  int k;
  x = y = 0;
  while (m > 1) {
    k = 1;
    int i = 1;
    while ((k << i) <= m) {
      ++i;
    }
    --i;
    k = (1 << i);
    x += k * b;
    x += (k / 2);
    m -= k / 2;
  }
  y = n * p;
  cout << x << " " << y << endl;
  return 0;
}
