#include <bits/stdc++.h>
using namespace std;
using namespace std;
bool solve(int);
int main() {
  int test = 0;
  while (solve(test++))
    ;
  return 0;
}
int n, b, p;
bool solve(int) {
  if (!(cin >> n >> b >> p)) return false;
  int B = 0;
  int T = n * p;
  while (n > 1) {
    int k = 1;
    while (k * 2 <= n) k *= 2;
    B += k * b + k / 2;
    n -= k / 2;
  }
  cout << B << " " << T << endl;
  return true;
}
