def marvin_in_good_direction(elevator_pos: int, clone_pos: int, direction: str) -> bool:
    """
    Is the clone going in the good direction?

    Args:
        elevator_pos (int) - The position of the elevator.
        clone_pos (int) - The position of Marvin's clone.
        direction (str) - RIGHT or LEFT.
    """
    if elevator_pos >= clone_pos and direction == 'RIGHT':
        return True
    elif elevator_pos <= clone_pos and direction == 'LEFT':
        return True
    else:
        return False