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