#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++;
}
k=i+j+k;
cout<<k;
return 0;
}
I2luY2x1ZGU8aW9zdHJlYW0+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CmludCBtYWluKCl7CmludCBpPTMsaj0yLGs9LTE7CmlmKGk+MCl7CiAgICAgaWYoajw9MCl7IAogICAgICAgICBpZihrPDApIAogICAgICAgICAgICBrKys7CiAgICAgICAgIGlmKGs8PTApCiAgICAgICAgICAgIGstLTsKICAgICAgIH0KICAgICBpZihqPjApCiAgICAgICBpKys7Cn0KCms9aStqK2s7CmNvdXQ8PGs7CnJldHVybiAwOwp9