

class 			A						:







    """simple docstring"""





    def __init__(				self			:	int,lowercase_			:	list[int]		)->   None:





        '''simple docstring'''







        A__   				=       len(lowercase_		)
        A__   				=       [0] * len_array

        if len_array > 0:
            A__   				=       array[0]

        for i in range(1,lowercase_		):
            A__   				=       self.prefix_sum[i - 1] + array[i]


    def 						snake_case__					(				self			:	Optional[Any],lowercase_			:	int,lowercase_			:	int		)->   int:





        '''simple docstring'''







        if start == 0:
            return self.prefix_sum[end]

        return self.prefix_sum[end] - self.prefix_sum[start - 1]


    def 						snake_case__					(				self			:	List[Any],lowercase_			:	int		)->   bool:





        '''simple docstring'''







        A__   				=       {0}
        for sum_item in self.prefix_sum:
            if sum_item - target_sum in sums:
                return True

            sums.add(lowercase_		)

        return False


if __name__ == "__main__":
     import doctest

     doctest.testmod()




def 						_snake_case(   SCREAMING_SNAKE_CASE__      :     int = 1000				)							->				int:





    '''simple docstring'''






    A__   				=       3
    A__   				=       0
    while a < n:
        if a % 3 == 0 or a % 5 == 0:
            result += a
        elif a % 15 == 0:
            result -= a
        a += 1
    return result


if __name__ == "__main__":
     print(f"""{solution() = }""")

