#include <bits/stdc++.h>
int main() {
  int A, B, C;
  scanf("%d %d %d", &A, &B, &C);
  if (A + B > C) {
    printf("Yes\nHe has %d + %d = %d yen, so he can buy the %d-yen toy.\n", A,
           B, C = A + B, C);
  } else {
    printf("No\nHe has %d + %d = %d yen, but he cannot buy the %d-yen toy.\n",
           A, B, C = A + B, C);
  }
  return 0;
}
