Kodeks - 570B Python

sizeOfRange,otherpick=map(int,input().split())
if(sizeOfRange==1 and otherpick==1):
    print(sizeOfRange)#1 number cant really fight can you
else:
    if(sizeOfRange/2<otherpick):
        print(otherpick-1)
    else:
        print(otherpick+1)
#so in a show of guessing the price of a object
#there is only 2 contestent
#price of the product 100
#first person says the price is 50 you just say its 50+1 or and you win
#you can say its 50-1
#either way its 50/50 chance of wining
PRO_GrAMmER (IA Fahim)