#include <bits/stdc++.h>
using namespace std;
void get_output(int n, int b, int p) {
  int p_a = p * n;
  int b_a = 0;
  while (n > 1) {
    b_a += (n / 2) * (2 * b + 1);
    n = n / 2 + n % 2;
  }
  cout << b_a << " " << p_a;
  return;
}
int main() {
  int n, b, p;
  cin >> n >> b >> p;
  get_output(n, b, p);
  return 0;
}
