#include <iostream>
using namespace std;
int main () {
int e[5] = {10, 20, 30, 40, 50};
for (int i = 0; i < 5; i++) if (e[i] >= 0 && e[i] < 100) cout << e[i];
}
//https://pt.stackoverflow.com/q/336968/101
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwogCmludCBtYWluICgpIHsKICAgIGludCBlWzVdID0gezEwLCAyMCwgMzAsIDQwLCA1MH07ICAgICAgIAogICAJZm9yIChpbnQgaSA9IDA7IGkgPCA1OyBpKyspIGlmIChlW2ldID49IDAgJiYgZVtpXSA8IDEwMCkgY291dCA8PCBlW2ldOwp9CgovL2h0dHBzOi8vcHQuc3RhY2tvdmVyZmxvdy5jb20vcS8zMzY5NjgvMTAx