https://www.spoj.com/problems/POLYMUL/ Problem doubt

Im trying to solve this problem SPOJ.com - Problem POLYMUL
using python’s inbuilt library function fft
but its resulting ina a tle here is my code.
IJ4hdm - Online Python3 Interpreter & Debugging Tool - Ideone.com
Can anyone help here.
Thanks in advance