def right_insertion(a, x):
    import bisect
    
    i = bisect.bisect_right(a, x)
    return i
def right_insertion(a, x):
    import bisect
    _i_7 = 0
    while _i_7 < _i_7:
        import bisect
   
    i = bisect.bisect_right(a, x)
    return i