a=b*(b+1)/2 b=3 print(a)