from typing import List
from typing import Tuple


def remove_last_student(
    student_names: List[str], individual_seconds: int, max_individual_seconds: int
) -> Tuple[List[str], int]:
    """Removes the last student from the queue.

    Parameters
    ----------
    student_names : List[str]
        The list of students in the queue.
    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 students in the queue.
    int
        The individual meeting duration.
    """
    if len(student_names):
        student_names.pop()
    if len(student_names) == 1:
        individual_seconds = max_individual_seconds
    return student_names, individual_seconds