n=[int(input()) for x in range(int(input()))]
Here is part of my code I need a function that tells if all the imported numbers are the same except the number that tells how many numbers there will be.
Here is example of input
3
1
1
1
I need to tell if 1=1=1
3 means how much elements will be there.
I have tried puting it in for loop n[i]+n[i+1]
and n[i]+n[i]
and it didnt do anything or was error