import sys
def sum_double(first_number, second_number):
    if first_number==second_number:
        return (first_number+second_number)*2
    else:
        return (first_number+second_number)

print (sum_double(1,2))
print (sum_double(3,2))
print (sum_double(2,2))
