#include <bits/stdc++.h>
#pragma GCC optimize("O3")
using namespace std;
int main() {
  ios::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  int n, b, p;
  cin >> n >> b >> p;
  int sum = 0, t = n * p;
  while (n > 1) {
    int l = log2(n);
    int k = pow(2, l);
    sum += k * b + k / 2;
    n = (n - k) + k / 2;
  }
  cout << sum << " " << t;
}
