#include <bits/stdc++.h>
using namespace std;
int n, x, y, m, k, l, i, j, second, t, a, b, p;
int fin(int x) {
  int p = 1;
  while (p < x) p *= 2;
  while (p > x) p /= 2;
  return p;
}
int main() {
  ios_base::sync_with_stdio(0), cin.tie(NULL), cout.tie(NULL);
  cin >> n >> b >> p;
  y = p * n;
  while (n != 1) m = fin(n), x += b * m + m / 2, n = n - m + m / 2;
  cout << x << " " << y;
  return 0;
}
