Solve: Map Put (Pratice of Map and Sets)

very confusing

and import statements are not allowed