def solution(A):
    my_dict = {}
    for num in A:
        my_dict[num] = 1
    return len(my_dict)

a660dcd33b77505e714ac305c169b740ba2d9bad
<mask token>

def solution(A):
    my_dict = {}
    for num in A:
        my_dict[num] = 1
    return len(my_dict)
