#include <bits/stdc++.h>
using namespace std;
const long long M = 1e3;
const long long INF = 2e9 + 10;
const long long N = 2e5 + 10;
long long a[N];
int main() {
  long long n, b, p;
  cin >> n >> b >> p;
  long long n1 = n;
  long long cnt = 0;
  while (n1 > 1) {
    int k = 1;
    while (2 * k <= n1) k *= 2;
    cnt += k / 2;
    n1 -= k / 2;
  }
  cout << cnt * (2 * b + 1) << " " << n * p;
}
