If you are solving a hacker rank tuple problem, use the coding language Pypy3, and the output will be correct. Use the below code
if __name__ == '__main__':
n = int(input())
integer_list = map(int, input().split())
print(hash(tuple(integer_list)))