#include <iostream>
using namespace std;
int table[4];
bool exists_in_table(int v)
{
for (int i = 0; i <= 4; i++) {
if (table[i] == v) return true;
}
return false;
}
int main() {
if (exists_in_table(0))
cout<<"0.\n";
if (exists_in_table(1))
cout<<"1.\n";
if (exists_in_table(2))
cout<<"2.\n";
if (exists_in_table(3))
cout<<"3.\n";
if (exists_in_table(4))
cout<<"4.\n";
if (exists_in_table(42))
cout<<"42.\n";
// your code goes here
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKCmludCB0YWJsZVs0XTsKYm9vbCBleGlzdHNfaW5fdGFibGUoaW50IHYpCnsKICAgIGZvciAoaW50IGkgPSAwOyBpIDw9IDQ7IGkrKykgewogICAgICAgIGlmICh0YWJsZVtpXSA9PSB2KSByZXR1cm4gdHJ1ZTsKICAgIH0KICAgIHJldHVybiBmYWxzZTsKfQoKCmludCBtYWluKCkgewogIGlmIChleGlzdHNfaW5fdGFibGUoMCkpIAogICAgY291dDw8IjAuXG4iOwogIGlmIChleGlzdHNfaW5fdGFibGUoMSkpIAogICAgY291dDw8IjEuXG4iOwogIGlmIChleGlzdHNfaW5fdGFibGUoMikpIAogICAgY291dDw8IjIuXG4iOwogIGlmIChleGlzdHNfaW5fdGFibGUoMykpIAogICAgY291dDw8IjMuXG4iOwogIGlmIChleGlzdHNfaW5fdGFibGUoNCkpIAogICAgY291dDw8IjQuXG4iOwogIGlmIChleGlzdHNfaW5fdGFibGUoNDIpKSAKICAgIGNvdXQ8PCI0Mi5cbiI7CgkvLyB5b3VyIGNvZGUgZ29lcyBoZXJlCglyZXR1cm4gMDsKfQ==