def METHOD_NAME(self, data: int) -> int:
    stars_to_rating = {
        0: 0,
        20: 1,
        40: 64,
        60: 128,
        80: 196,
        100: 255,
    }
    return stars_to_rating[data]