def sum_in_Range(l,r):
    def sum_Odd(n): 
        terms = (n + 1)//2
        sum1 = terms * terms 
        return sum1  
     
    return sum_Odd(r) - sum_Odd(l - 1)
def sum_in_Range(l, r):
    def sum_Odd(n):
        terms = (n + 1) // 2
        sum1 = terms * terms
       
        return sum1
    return sum_Odd(r) - sum_Odd(l - 1)