#include <bits/stdc++.h>
using namespace std;
int main() {
  int m, k, n, p, b, x, bo = 0, nom, s;
  scanf("%d%d%d", &n, &b, &p);
  int l = n;
  x = n;
  while (x > 1) {
    x = n;
    s = 1;
    while (2 * s <= x) {
      s = s * 2;
    }
    n = s / 2 + (n - s);
    x = n;
    nom = s / 2;
    bo = s * b + nom + bo;
  }
  printf("%d %d\n", bo, p * l);
}
