# ECE 2524 Homework 2 Problem 2 Glen Polo

import sys
print "ACCOUNT INFORMATION FOR BLACKSBURG RESIDENTS"
if len(sys.argv) == 2: 
	x = open(sys.argv[1], 'r')
	for line in x:
		if 'Blacksburg' in line:
			print line.split()[4] + ", " + line.split()[1] + ", " + line.split()[0] + ", " + line.split()[2]



