"YES" (without quotation marks) if their requirements can be satisfied for the -th test case, otherwise output "NO" (without quotation marks).
2 8 3
YES NO
Contoh jawaban benar dalam bahasa pemrograman C++:
Contoh jawaban salah dalam bahasa pemrograman C++: