#include <bits/stdc++.h>
using namespace std;
const int MAXN = 200;
int main() {
  int n, m, b, p;
  int a = 0;
  cin >> n >> b >> p;
  m = n;
  while (m > 1) {
    a += (m / 2) * (2 * b + 1);
    m -= m / 2;
  }
  cout << a << ' ' << n * p;
}
