Printed the results. Currently wrong, but in the right region (359 instead of 376), but this is a good start at least.