def solve(nums):
    for i in nums:
        if nums.count(i) == 1:
            return i

if __name__ == "__main__":
    print(solve([2,2,1]))
aecfc7bd369d491fee1d4222574b7f7a39900942
<mask token>

def solve(nums):
    for i in nums:
        if nums.count(i) == 1:
            return i


<mask token>

def solve(nums):
    for i in nums:
        if nums.count(i) == 1:
            return i


if __name__ == '__main__':
    print(solve([2, 2, 1]))

def solve(nums):
    for i in nums:
        if nums.count(i) == 1:
            return i

if __name__ == "__main__":
    print(solve([2,2,1]))