def parse_times(ls):
    """
    Parse a block of timestamps.

    :param ls: The list of strings to parse.
    :return: The timestamps, their number, and the rest of the file.
    """
    times = []
    curr_line = ls.pop(0)
    num = round(float(curr_line.split()[1]))

    while curr_line[1] != ':':
        vals = curr_line.split()[1:]
        parsed = list(map(float, vals))
        times = times + parsed

        curr_line = ls.pop(0)

    times = times[1:]  # Remove number

    return num, times, ls