#include <stdio.h>
int main(void) {
char cor[37] = "0PVPPVPVVVPPVPVVVVPVPPVPVPPVPVPVPPVPV";
int entrada;
if (entrada < 0 || entrada > 36) {
return 0;
}
printf("\nO número é %d, é %s", entrada
, cor
[entrada
] == 'V' ? "vermelho" : cor
[entrada
] == 'P' ? "preto" : "verde");
printf(", %s", entrada
> 18 ? "grande" : "pequeno"); printf(", %s", entrada
% 2 == 0 ? "par" : "ímpar"); }
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbih2b2lkKSB7CiAgICBjaGFyIGNvclszN10gPSAiMFBWUFBWUFZWVlBQVlBWVlZWUFZQUFZQVlBQVlBWUFZQUFZQViI7CiAgICBpbnQgZW50cmFkYTsKICAgIHByaW50ZigiUXVhbCDDqSBvIG7Dum1lcm8/ICIpOwogICAgc2NhbmYoIiVpIiwgJmVudHJhZGEpOwogICAgaWYgKGVudHJhZGEgPCAwIHx8IGVudHJhZGEgPiAzNikgeyAKICAgICAgICBwcmludGYoIlZhbG9yIGludsOhbGlkbyIpOwogICAgICAgIHJldHVybiAwOwogICAgfQogICAgcHJpbnRmKCJcbk8gbsO6bWVybyDDqSAlZCwgw6kgJXMiLCBlbnRyYWRhLCBjb3JbZW50cmFkYV0gPT0gJ1YnID8gInZlcm1lbGhvIiA6IGNvcltlbnRyYWRhXSA9PSAnUCcKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA/ICJwcmV0byIgOiAidmVyZGUiKTsKICAgIHByaW50ZigiLCAlcyIsIGVudHJhZGEgPiAxOCA/ICJncmFuZGUiIDogInBlcXVlbm8iKTsKICAgIHByaW50ZigiLCAlcyIsIGVudHJhZGEgJSAyID09IDAgPyAicGFyIiA6ICLDrW1wYXIiKTsKfQ==