import torch


def merge_videos(first: torch.Tensor, second: torch.Tensor) -> torch.Tensor:
    """Merges two videos together, first is played before second.

    Args:
        first (torch.Tensor): First video
        second (torch.Tensor): Second video

    Returns:
        torch.Tensor: Merged video
    """
    return torch.cat((first, second))