// Online Java Compiler
// Use this editor to write, compile and run your Java code online
import java.util.Scanner;
class Main {
public static void main
(String[] args
) { System.
out.
println("Try programiz.pro"); Scanner sc
= new Scanner
(System.
in); int number = sc.nextInt();
int num=number+2;
int mid = 0+num /2;
//System.out.print(mid);
if(number>1){
if(number %2!=0){
for(int i=0;i<num;i++){
if(i!=mid){
if(i==0 ){
for(int j=0;j<num;j++){
if(j==num-1){
}
}
}else{
for(int j=0;j<num;j++){
if(j==num-1){
}
}
}
}else{
for(int k=0;k<2;k++){
}
for(int j=0;j<number;j++){
if(j==number-1){
}
}
}
if(i==num-1){
for(int p=0;p<number-1;p++){
}
}
}
}else{
System.
out.
print("not for even number"); }
}else{
System.
out.
print("not valid for negative and 1"); }
}
}
Ly8gT25saW5lIEphdmEgQ29tcGlsZXIKLy8gVXNlIHRoaXMgZWRpdG9yIHRvIHdyaXRlLCBjb21waWxlIGFuZCBydW4geW91ciBKYXZhIGNvZGUgb25saW5lCmltcG9ydCBqYXZhLnV0aWwuU2Nhbm5lcjsKY2xhc3MgTWFpbiB7CiAgICBwdWJsaWMgc3RhdGljIHZvaWQgbWFpbihTdHJpbmdbXSBhcmdzKSB7CiAgICAgICAgU3lzdGVtLm91dC5wcmludGxuKCJUcnkgcHJvZ3JhbWl6LnBybyIpOwogICAgICAgIFNjYW5uZXIgc2MgPSBuZXcgU2Nhbm5lcihTeXN0ZW0uaW4pOwogICAgICAgIGludCBudW1iZXIgPSBzYy5uZXh0SW50KCk7CiAgICAgICAgaW50IG51bT1udW1iZXIrMjsKICAgICAgICBpbnQgbWlkID0gMCtudW0gLzI7CiAgICAgICAgLy9TeXN0ZW0ub3V0LnByaW50KG1pZCk7CiAgICAgICAgaWYobnVtYmVyPjEpewogICAgICAgIGlmKG51bWJlciAlMiE9MCl7CiAgICAgICAgZm9yKGludCBpPTA7aTxudW07aSsrKXsKICAgICAgICAgICAgaWYoaSE9bWlkKXsKICAgICAgICAgICAgICAgIGlmKGk9PTAgKXsKICAgICAgICAgICAgZm9yKGludCBqPTA7ajxudW07aisrKXsKICAgICAgICAgICAgICAgIFN5c3RlbS5vdXQucHJpbnQoIioiKTsKICAgICAgICAgICAgICAgIGlmKGo9PW51bS0xKXsKICAgICAgICAgICAgICAgICAgICBTeXN0ZW0ub3V0LnByaW50KCJlIik7CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICAgICAgfWVsc2V7CiAgICAgICAgICAgIGZvcihpbnQgaj0wO2o8bnVtO2orKyl7CiAgICAgICAgICAgICAgICBTeXN0ZW0ub3V0LnByaW50KCIgIik7CiAgICAgICAgICAgICAgICBpZihqPT1udW0tMSl7CiAgICAgICAgICAgICAgICAgICAgU3lzdGVtLm91dC5wcmludCgiZSIpOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgICAgICAgICB9ICAKICAgICAgICAgICAgfWVsc2V7CiAgICAgICAgICAgICAgICBmb3IoaW50IGs9MDtrPDI7aysrKXsKICAgICAgICAgICAgICAgICAgICBTeXN0ZW0ub3V0LnByaW50KCIgIik7CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICBmb3IoaW50IGo9MDtqPG51bWJlcjtqKyspewogICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgU3lzdGVtLm91dC5wcmludCgiKiIpOwogICAgICAgICAgICAgICAgaWYoaj09bnVtYmVyLTEpewogICAgICAgICAgICAgICAgICAgIFN5c3RlbS5vdXQucHJpbnQoImUiKTsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgICAgIGlmKGk9PW51bS0xKXsKICAgICAgICBmb3IoaW50IHA9MDtwPG51bWJlci0xO3ArKyl7CiAgICAgICAgICAgICAgICAgICAgICAgIFN5c3RlbS5vdXQucHJpbnQoIioiKTsKICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgIFN5c3RlbS5vdXQucHJpbnRsbigpOwogICAgICAgIH0KICAgICAgICB9ZWxzZXsKICAgICAgICAgICAgU3lzdGVtLm91dC5wcmludCgibm90IGZvciBldmVuIG51bWJlciIpOwogICAgICAgIH0KICAgICAgICB9ZWxzZXsKICAgICAgICAJU3lzdGVtLm91dC5wcmludCgibm90IHZhbGlkIGZvciBuZWdhdGl2ZSBhbmQgMSIpOwogICAgICAgIH0KICAgICAgICAKICAgICAgICAKICAgIH0KfQ==