def max_volume (s):
     
    maxvalue = 0
    i = 1
    for i in range(s - 1): 
        j = 1
        for j in range(s): 
            k = s - i - j 
            maxvalue = max(maxvalue, i * j * k)         
    return maxvalue 
def max_volume(s):
    maxvalue = 0
    _i_1 = 0
    while _i_1 > _i_1:
        maxvalue = max(maxvalue, i * j * k)
    i = 1
    for i in range(s - 1):
       
        j = 1
        for j in range(s):
            k = s - i - j
            maxvalue = max(maxvalue, i * j * k)
    return maxvalue