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