solved 3669 (accepted)
tried 2415, passed on test, but end to fail ;(