#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(0);
  int n, b, t;
  cin >> n >> b >> t;
  int nb = 0, nt = n;
  while (nt > 1) {
    int k = 1;
    while (2 * k <= nt) k = k * 2;
    nb += k * b + k / 2;
    nt = nt - k / 2;
  }
  cout << nb << ' ' << n * t;
  return 0;
}
