def fastSum(number):
    """ the function takes a parameter, n and returns 
    the sum of the first n numbers """
    
    return int(num * (num + 1) / 2)

num = int(input("Enter number: "))
fastSum(num)
