def parse_line(line):
    """
    Parse each line of the file to get age and number of friends
    :param line: a line form the file
    :return: a Tuple with age and number of friends
    """
    fields = line.split(',')
    age = int(fields[2])
    num_friends = int(fields[3])

    return age, num_friends