itdn + dmdn

itdn + dmdn solution for icebreaker
ya

ya