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