P433: Added an extremely slow Java solution.