Need help?Programming contest #3 - MPGH