class Main{
public static void main
(String args
[]){ int num=7;
if(num%2==0 || num<1){
}
for(int i=0;i<1;i++){
for(int j=1;j<=num+2;j++){
}
}
for(int i=0;i<num-i;i++){
for(int j=0;j<=num-i;j++){
}
for(int j=0;j<=i+i;j++){
}
}
}
}
Y2xhc3MgTWFpbnsKICAgIHB1YmxpYyBzdGF0aWMgdm9pZCBtYWluKFN0cmluZyBhcmdzW10pewogICAgICAgIGludCBudW09NzsKICAgICAgICBpZihudW0lMj09MCB8fCBudW08MSl7CiAgICAgICAgICAgIFN5c3RlbS5vdXQucHJpbnQoIkVycm9yIik7CiAgICAgICAgfQogICAgICAgZm9yKGludCBpPTA7aTwxO2krKyl7CiAgICAgICAgICAgZm9yKGludCBqPTE7ajw9bnVtKzI7aisrKXsKICAgICAgICAgICAgICAgU3lzdGVtLm91dC5wcmludCgiIGUiKTsKICAgICAgICAgICB9CiAgICAgICAgICAgU3lzdGVtLm91dC5wcmludGxuKCk7CiAgICAgICB9CiAgICAgICAgCiAgICAgICAgZm9yKGludCBpPTA7aTxudW0taTtpKyspewogICAgICAgICAgICAgICAgCiAgICAgICAgICAgIGZvcihpbnQgaj0wO2o8PW51bS1pO2orKyl7CiAgICAgICAgICAgICAgICBTeXN0ZW0ub3V0LnByaW50KCIgIik7CiAgICAgICAgICAgIH0KICAgICAgICAgICAgZm9yKGludCBqPTA7ajw9aStpO2orKyl7CiAgICAgICAgICAgICAgICBTeXN0ZW0ub3V0LnByaW50KCIqIik7CiAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgIAogICAgICAgICAgICB9CiAgICAgICAgICAgIFN5c3RlbS5vdXQucHJpbnRsbigpOwogICAgICAgIAogICAgICAgICAgICAKICAgICAgICB9CiAgICAgICAgICAgIAogICAgfQp9