[TLE] AtCoder/abc015/D_2 (Haskell)