from typing import List
from typing import Tuple


def go_to_next_student(
    student_names: List[str], individual_seconds: int, max_individual_seconds: int
) -> Tuple[List[str], int, int]:
    """Rotates the queue forwards.

    Parameters
    ----------
    student_names : List[str]
        The list of student names.
    individual_seconds : int
        The number of seconds remaining for the individual meeting.
    max_individual_seconds : int
        The maximum individual meeting duration in seconds.

    Returns
    -------
    List[str]
        The list of student names.
    int
        The number of seconds in the group meeting.
    int
        The number of seconds in the individual meeting.
    """
    student_names.append(student_names.pop(0))
    previous_individual_seconds = individual_seconds
    if student_names[0].endswith("-minute break"):
        individual_seconds = int(student_names[0].split("-")[0]) * 60
    else:
        individual_seconds = max_individual_seconds
    return student_names, individual_seconds, previous_individual_seconds