n=int(input()) a=list(map(int,input().split())) sum=a[0]
How is "sum" a method used as a variable in the above code?