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