class Solution:
    def Sum_Solution(self , n: int) -> int:
        # write code here
        res=((1+n)*n)//2
        return res