#include <bits/stdc++.h>
using namespace std;
const long long MOD = 1e9 + 7;
int main() {
  int n, b, p;
  scanf("%d%d%d", &n, &b, &p);
  int a = (n - 1) * (2 * b + 1);
  int c = n * p;
  printf("%d %d\n", a, c);
}
