Solution to P01

def lesser_of_two_evens(a,b):
    if a%2==0 and b%2==0:
        return min(a,b)
    else:
        return max(a,b)
a=int(input("Emter a number: "))
b=int(input("Enter second number: "))
print("Answer: ",lesser_of_two_evens(a,b))



   # elif (a%2==0 and b%2!=0) or (a%2!=0 and b%2=0) or (a%2!=0 and b%2!=0):
   #     return max(a,b)