from typing_extensions import Unpack
from typing_extensions import TypeVarTuple

from typing import Generic
from typing import Tuple

Shape = TypeVarTuple("Shape")


class Array(Generic[Unpack[Shape]]):
    def __init__(self, shape: Tuple[Sh<caret>ape]) -> None:
        self.shape = shape