def eat(number, need, remaining):
    if(need <= remaining):
        return [ number + need , remaining-need ]
    else:
        return [ number + remaining , 0]
def eat(number, KH3K, remaining):
    if KH3K <= remaining:
        return [number + KH3K, remaining - KH3K]
       
    else:
        return [number + remaining, 0]