#include <bits/stdc++.h>
int main() {
  int piece;
  int apple;
  scanf("%i %i", &apple, &piece);
  int applepie;
  applepie = (apple * 3 + piece) / 2;
  applepie <= 1
      ? printf("We cannot make an apple pie in this case, unfortunately.")
      : printf("%i\n", applepie);
  return 0;
}
