#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, b, p;
  cin >> n >> b >> p;
  int m = n;
  int t = 0;
  while (m != 1) {
    int l = pow(2, ((int)log2(m)));
    t += l / 2 + l * b;
    m = l / 2 + (m - l);
  }
  cout << t << ' ' << n * p;
  return 0;
}
