
def extract_arguments(fh):
    n = int(fh.readline().strip())
    weights = list(map(int, fh.readline().strip().split()))
    return n, weights

#import sys
#
#if __name__ == "__main__":
#    input_path = sys.argv[1]
#    with open(input_path, 'r') as fh:
#        n, weights = extract_arguments(fh)
#   f(n, weights)
