write answer to output file
Write to output file
diofjds