Synthetic Division

Input





x4 x3 x2 x constant
        




x3 x2 x constant remainder




----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------




Output: