Problem 6

Simple brute force, that doesn't even require optimization on numbers this low(?)