Eri Card became an official event at the 2468 Neptune Olympics. Each team starts a match with N shared number cards and N team number cards.
A match runs like this. The opposing team first blocks K of our team number cards, and a blocked card cannot be played. Once the blocking is over, our team picks one shared number card and one team number card that was not blocked, and plays them. The product of the two numbers is our team's score. The opposing team then scores the same way, and the team with the higher score wins.
The opposing team always blocks in the best way, so it picks the K cards that make our team's score as small as possible. Write a program that prints the maximum score our team can get.