#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, b, p;
  scanf("%d%d%d", &n, &b, &p);
  int ans = 0;
  int nt = n;
  while (n != 1) {
    int t = n / 2;
    ans += (b * 2 + 1) * t;
    n = n - t;
  }
  printf("%d %d\n", ans, nt * p);
}
