I have attached the input(transact.txt) and output(account.txt) files.

i need to read in transactions from transact.txt, check the id for valid numbers between 999 and 10000, check the name for less than 10 characters, no numbers allowed in name.
then i have to print to accounts.txt and sort them in order by id.

I also have to figure out how to make an id unique so it cant be used by multiple names.