solved code jams one question... somehow :(
solved code jams one question... somehow :(

ok solved the question but very slow ... ;( ;( ;(