#include<iostream>
using namespace std;
int main(){
int i = 3, j = 2, k = -1;
if(i > 0) {
if(j <= 0) {
if(k < 0)
k++;
if(k <= 0)
k--;
}
if(j > 0)
i++;
}
if(i <= 0)
j++;
k = i + j + k;
cout<<k;
return 0;
}
I2luY2x1ZGU8aW9zdHJlYW0+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CmludCBtYWluKCl7CmludCBpID0gMywgaiA9IDIsIGsgPSAtMTsKCmlmKGkgPiAwKSB7CiAgICBpZihqIDw9IDApIHsKICAgICAgICBpZihrIDwgMCkKICAgICAgICAgICAgaysrOwogICAgICAgIGlmKGsgPD0gMCkKICAgICAgICAgICAgay0tOwogICAgfQogICAgaWYoaiA+IDApCiAgICAgICAgaSsrOwp9CgppZihpIDw9IDApCiAgICBqKys7CgprID0gaSArIGogKyBrOwoKCmNvdXQ8PGs7CgpyZXR1cm4gMDsKfQ==