#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, b, p;
  cin >> n >> b >> p;
  int games = 0;
  int temp = n / 2;
  int counter = 0;
  if (n % 2 != 0 && n != 1) counter++;
  for (int i = 0; temp > 0; temp /= 2) {
    if (temp % 2 != 0 && temp != 1) counter++;
    games += temp;
  }
  cout << (games + counter) * (2 * b + 1) << " " << n * p;
}
