#include <cstdio>
#include <cassert>
bool check(int x) {
auto a = (12 <= x <= 0);
auto b = (12 <= x <= 7);
return a && b;
}
int main(void) {
// invalid
assert(check(12) == false);
// valid
assert(check(11));
assert(check(10));
assert(check(0));
assert(check(1));
return 0;
}
I2luY2x1ZGUgPGNzdGRpbz4KI2luY2x1ZGUgPGNhc3NlcnQ+Cgpib29sIGNoZWNrKGludCB4KSB7CglhdXRvIGEgPSAoMTIgPD0geCA8PSAwKTsKCWF1dG8gYiA9ICgxMiA8PSB4IDw9IDcpOwoJcmV0dXJuIGEgJiYgYjsKfQoKaW50IG1haW4odm9pZCkgewoJLy8gaW52YWxpZAoJYXNzZXJ0KGNoZWNrKDEyKSA9PSBmYWxzZSk7CgkKCS8vIHZhbGlkCglhc3NlcnQoY2hlY2soMTEpKTsKCWFzc2VydChjaGVjaygxMCkpOwoJYXNzZXJ0KGNoZWNrKDApKTsKCWFzc2VydChjaGVjaygxKSk7CgkKCXJldHVybiAwOwp9Cg==