#include <bits/stdc++.h>
using namespace std;
void ga(int N, int *A) {
  for (int i(0); i < N; i++) scanf("%d", A + i);
}
int N, b, p, B;
int lsr(int K) {
  int I(1);
  while (I <= K) I <<= 1;
  return I >> 1;
}
int main(void) {
  scanf("%d%d%d", &N, &b, &p), p *= N;
  while (N > 1) {
    B += (lsr(N)) * b + (lsr(N) >> 1);
    N = (lsr(N) >> 1) + N - (lsr(N));
  }
  printf("%d %d\n", B, p);
  return 0;
}
