def human(number: int, suffix='B') ->str:
    """Return a human readable memory size in a string.

    Initially written by Fred Cirera, modified and shared by Sridhar Ratnakumar
    (https://stackoverflow.com/a/1094933/6167478), edited by Victor Domingos.
    """
    for unit in ['', 'K', 'M', 'G', 'T', 'P', 'E', 'Z']:
        if abs(number) < 1024.0:
            return f'{number:3.1f} {unit}{suffix}'
        number = number / 1024.0
    return f"{number:.1f}{'Yi'}{suffix}"
