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