#common_end
#Given 2 arrays of ints, a and b, return True if they have the same first element or they have the same last element. Both arrays will be length 1 or more.
a=[1,2,3]
b=[2,3]
if a[0]==b[0] or a[-1]==b[-1]:
    print(True)
else:
    print(False)
