Project Euler #190: Maximising a weighted product