#include <iostream>
using namespace std;
int main() {
int k = 0;
for (int i = 0; i < 10; i++) {
k += !((4 + (~i + 1)) & 0x80000000);
}
cout << k << endl;
}
//https://pt.stackoverflow.com/q/268749/101
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7CglpbnQgayA9IDA7CiAgICBmb3IgKGludCBpID0gMDsgaSA8IDEwOyBpKyspIHsKICAgICAgICBrICs9ICEoKDQgKyAofmkgKyAxKSkgJiAweDgwMDAwMDAwKTsKICAgIH0KICAgIGNvdXQgPDwgayA8PCBlbmRsOwp9CgovL2h0dHBzOi8vcHQuc3RhY2tvdmVyZmxvdy5jb20vcS8yNjg3NDkvMTAx