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