MathDB

Problem 4-M

Part of 1998 VJIMC