PLayed around with the variables. Got about 60% correct in the end.