#include <bits/stdc++.h>
using namespace std;
int pot(int n) {
  if (n == (n & -n)) return n;
  return (n - (n & -n));
}
int main() {
  int n, b, p;
  cin >> n >> b >> p;
  int ans1 = 0, ans2 = p * n;
  while (n != 1) {
    int d = pot(n);
    int e = n - d;
    n -= (d / 2);
    ans1 += (d * b + (d / 2));
  }
  cout << ans1 << " " << ans2;
  return 0;
}
