codeforces fft algorithm w meetinthemiddle