def read_test_case(file_path):
    """
    reads one test case from file.
    returns contents of test case

    Parameters
    ----------
    file_path : str
        the path of the test case file to read.

    Returns
    -------
    list
        a list of contents of the test case.
    """

    file = open(file_path, "r")
    number = int(file.readline().strip())

    case = list()
    for i in range(number):
        case.append(file.readline().strip())

    file.close()
    return case