from typing import List


def right(lst: List[int], idx: int) -> int:
    """Return right heap child."""
    right_idx = idx * 2 + 2
    if right_idx < len(lst):
        return right_idx
    else:
        return -1