Question: 'Expand (13 - 4 + 8 + 12)*(0*l + 3*l - 12*l).\n'

Answer: '-261*l\n'


Question: 'Expand (-268 + 13*x + 9*x**2 + 268 + 0*x**2)*(-3 - 12 - 1).\n'

Answer: '-144*x**2 - 208*x\n'


Question: 'Expand (-i + 4*i - i)*(3 + 1 - 5) - 17*i - 12*i + 14*i.\n'

Answer: '-17*i\n'


Question: 'Expand (-2 - 4 - 3 + 0 + 4 - 3 + 5 - 1 - 3 + (-1 - 4 + 3)*(0 - 5 + 3))*(0 - 9 + 0)*(0*j + 4*j - j).\n'

Answer: '81*j\n'


Question: 'Expand (-12*t**2 + 1467*t - 1467*t + 6)*(0*t**3 - 2*t**3 + 0*t**3).\n'

Answer: '24*t**5 - 12*t**3\n'


Question: 'Expand (4*q - 2*q - q)*(-5 + 1 + 2)*(-2*q**3 + 71*q**2 - 8*q**2 + q**3).\n'

Answer: '2*q**4 - 126*q**3\n'


Question: 'Expand (2 - 5 - 7)*(0*j**3 - 2*j**5 + 0*j**3) + 4*j**4 + 2*j**5 - 4*j**4 + (7*j - 7*j - 4*j**2)*(-3*j**3 - 2*j**3 + 3*j**3) - 2*j**5 - 4*j**2 + 4*j**2.\n'

Answer: '28*j**5\n'


Question: 'Expand v**4 + 0*v**4 - 2*v**4 + 2*v**4 + 0*v**4 - 3*v**4 + (9*v**2 - 43 + 43)*(2*v**2 + 2*v**2 + 2*v**2) + 4*v**4 + 0*v**4 - 5*v**4.\n'

Answer: '51*v**4\n'


Question: 'Expand s**5 - 5*s**4 + 5*s**4 + (-3*s**2 + 3*s**2 + 16*s**4)*(4 - 4 + 3*s).\n'

Answer: '49*s**5\n'


Question: 'Expand 3*x**2 + 10*x - 10*x + (-3*x - 4*x + 10*x)*(4*x - x - x).\n'

Answer: '9*x**2\n'


Question: 'Expand (-p**3 - 3*p**3 + 6*p**3 + (6*p**3 - p**3 - 2*p**3)*(-1 + 1 - 5))*(-5 - p + 5).\n'

Answer: '13*p**4\n'


Question: 'Expand (7588*n - 7588*n + 1539*n**3)*(n + 2*n - 5*n).\n'

Answer: '-3078*n**4\n'


Question: 'Expand (-4 + 4 + 2*l)*(2 - 6*l + 4 - 9)*(-21*l + 0*l - 14*l).\n'

Answer: '420*l**3 + 210*l**2\n'


Question: 'Expand (-5 + 5 - 2*c**3)*(64 - 41 - 66) + 2*c**2 - 2*c**2 + 3*c**3 - c**2.\n'

Answer: '89*c**3 - c**2\n'


Question: 'Expand f + 3*f - 2*f + (16 - 25 + 19)*(-5 - 1 + 7 - 8*f).\n'

Answer: '-78*f + 10\n'


Question: 'Expand (((-1 - 1 + 4)*(-3 + 2 + 5) + 2 + 0 + 0)*(-14 + 26 + 16) + 1 + 1 - 3)*(4*w + 0*w - w).\n'

Answer: '837*w\n'


Question: 'Expand (2*k - 3*k + 3*k)*(4 + 0 - 5) + ((2 - 5 + 4)*(-22 + 5 + 1) + 4 - 6 + 1)*(-5*k + 3*k + 4*k)*(-1 - 3 + 3).\n'

Answer: '32*k\n'


Question: 'Expand (h**3 + h**3 - h**3)*(-2 + 0 + 4 + (1 + 4 - 3)*(-2 + 4 - 1) - 4 - 7 + 10).\n'

Answer: '3*h**3\n'


Question: 'Expand (2*d + 0*d + 3*d)*(0*d - 7*d + d - 5*d + 2*d + 2*d - d + 0*d + 0*d + (2 - 5 + 1)*(d + 0*d + d) - d + 2*d + 3*d).\n'

Answer: '-40*d**2\n'


Question: 'Expand (1 + 2*c**2 - 1)*(4*c**2 + 7*c**2 + c**2) - 3*c**3 + c**4 + 3*c**3.\n'

Answer: '25*c**4\n'


Question: 'Expand (-499*g + 1575*g + 1 - 130*g)*(-g + 1 - 1).\n'

Answer: '-946*g**2 - g\n'


Question: 'Expand (0 - 2 + 1 + (-6 + 5 - 1)*(-5 + 2 + 1) + 5 - 1 + 2)*(-k - 2*k + k).\n'

Answer: '-18*k\n'


Question: 'Expand (2*t + 3 - 3)*(27*t - 12*t + 385 - 13*t).\n'

Answer: '4*t**2 + 770*t\n'


Question: 'Expand (2*m + 0*m - 3*m)*(31*m**4 + 15*m**4 - 3*m**4).\n'

Answer: '-43*m**5\n'


Question: 'Expand -3*n - 6*n**2 + 3*n + (3*n - 4*n + 3*n)*(2*n + 0 + 0) + (-n - 3 + 3)*(-3*n - 2*n + 6*n) - 3*n**2 - 2*n**2 + 3*n**2 + 3 - 3*n**2 - 3 + 2 + n**2 - 2.\n'

Answer: '-7*n**2\n'


Question: 'Expand 2*t**5 + 2*t**4 - 2*t**4 + 2*t**5 + 2*t**5 - 3*t**5 + (-45*t**3 + 11*t**3 - 8*t**3)*(t**2 + 3*t**2 - 5*t**2).\n'

Answer: '45*t**5\n'


Question: 'Expand (0*c - 4*c + 6*c)*(-2*c + 3*c - 2*c)*(7 - 16 + 4).\n'

Answer: '10*c**2\n'


Question: 'Expand 23*d + 13 - 13 + (-d - 4*d + 2*d)*(-4 + 0 + 2)*(0 - 2 + 0).\n'

Answer: '11*d\n'


Question: 'Expand (3*g + 2*g - 2*g)*(g + g - 3*g) - g**2 - 50*g + 50*g + 3.\n'

Answer: '-4*g**2 + 3\n'


Question: 'Expand (-5*h - 3*h**3 + 5*h + (3 + 68 - 4)*(4*h**3 + h**3 - 3*h**3))*(-2*h + 7*h - 2*h).\n'

Answer: '393*h**4\n'


Question: 'Expand 2*w - 3*w + 5*w - w**2 + 3*w**2 + w**2 - 3*w**2 - 4*w**2 + 4*w**2 + w**2 + (-1 + 2*w**2 + 1)*(-1 - 1 + 4).\n'

Answer: '5*w**2 + 4*w\n'


Question: 'Expand (0*s**3 - 4*s**3 + 2*s**3)*(1 + s**2 - 1) - 9288*s**5 - 10*s + 18582*s**5 - 9291*s**5 + 7*s**3 + 2.\n'

Answer: 's**5 + 7*s**3 - 10*s + 2\n'


Question: 'Expand (4*v**2 + 3*v**2 - 5*v**2)*((-1 + 2 - 2)*(0 + 0 - 1) + 4 - 1 - 2).\n'

Answer: '4*v**2\n'


Question: 'Expand 33*t**2 + 120*t**2 + 36 - 38 + (0*t + 4*t - 2*t)*(2*t - 3 + 3) + t**2 - t**2 + t**2 - t**2 - 2*t**2 + t**2.\n'

Answer: '156*t**2 - 2\n'


Question: 'Expand (-1 + 3 - 4)*(y + 0*y - 153*y**2 + 56*y**2).\n'

Answer: '194*y**2 - 2*y\n'


Question: 'Expand (t - 4*t - t)*(t + 3*t - 3*t) + 2*t - t**2 - 2*t + (-t**2 + 2*t - 2*t)*(10 + 1 + 1) + 7*t**2 - 3*t**2 - 3*t**2.\n'

Answer: '-16*t**2\n'


Question: 'Expand (3*o - 2 + 2)*(o**2 + 3*o**2 - 2*o**2) + 2*o**3 - 2*o**2 + 2*o**2 - 5 + 1 + 2*o**3 - 3*o**3.\n'

Answer: '7*o**3 - 4\n'


Question: 'Expand (-3*g + 2*g + 0*g)*(-10 + 5 - 1) + 2*g - 6*g + 0*g.\n'

Answer: '2*g\n'


Question: 'Expand -3*j - 3*j - 7*j - 3*j + 2*j + 2*j + (-5 + 5 + 2)*(-3*j + 0*j + j) + j + 3 - 3.\n'

Answer: '-15*j\n'


Question: 'Expand -2*p**3 + 9*p**3 + 9*p**3 + (-4*p + 3*p + 3*p)*(p - p + 5*p**2) - 2*p**3 + 3*p**3 + 0*p**3.\n'

Answer: '27*p**3\n'


Question: 'Expand 6*y - 6*y - 2*y**4 - y**4 - y**4 + y**4 + (-2*y**2 + 3*y**2 + y**2)*(0*y + 2*y**2 + 0*y).\n'

Answer: 'y**4\n'


Question: 'Expand (2*b - 3*b + 0*b)*(b - 4*b + 5*b) - 2 + b**2 + 2 + 296*b**2 + 107*b**2 - 699*b**2.\n'

Answer: '-297*b**2\n'


Question: 'Expand (-o**2 + o**2 + 2*o**4)*(2 - 3*o - 2 + (2 + 16 + 118)*(o + 2*o - 4*o)).\n'

Answer: '-278*o**5\n'


Question: 'Expand 5*x**2 - 2*x + 2*x + (x + 4*x - 3*x)*(x + x + 0*x) + x + 2*x**2 - x - 19 + 21*x**2 + 7 + 12.\n'

Answer: '32*x**2\n'


Question: 'Expand (-2 + 2 + 1)*(-15*a + a - 12*a) - 98 + 98 + 8*a + 2*a - 2*a - a.\n'

Answer: '-19*a\n'


Question: 'Expand (-2 + 2 - 2*v)*(-2*v**4 - 4*v**3 + 4*v**3) - 3 + 6*v**5 + 3 + 13*v**4 - 13*v**4 + 11*v**5.\n'

Answer: '21*v**5\n'


Question: 'Expand (-2 - 9*v + 2 - 11*v)*(-10 + 3 - 4)*(0*v + 0*v - 2*v).\n'

Answer: '-440*v**2\n'


Question: 'Expand (-3*c + 2*c + 4*c)*(-14*c + 7 + 0*c - 5)*(2*c**2 + c**2 - 10*c**2).\n'

Answer: '294*c**4 - 42*c**3\n'


Question: 'Expand 3*v**2 + 3*v**2 - 4*v**2 + (-v - v + 3*v)*(-2*v + 0 + 0) + 2*v**2 + v**2 + 0*v**2 + 2*v**2 + 11*v**2 - 4*v**2.\n'

Answer: '12*v**2\n'


Question: 'Expand (0 + 0 - 3*s)*(168*s - 371*s + 184*s).\n'

Answer: '57*s**2\n'


Question: 'Expand 3*v**5 - v**5 + 0*v**5 + (4*v - v - v)*(-4 + v**4 + 4) - v**5 + 11*v**5 - 2*v**5.\n'

Answer: '12*v**5\n'


Question: 'Expand -2*x**4 + 0*x**3 + 0*x**3 + (x**3 + 0*x**3 + x**3)*(3 - 2*x - 3) - 17 + 17 - 7*x**4.\n'

Answer: '-13*x**4\n'


Question: 'Expand 4*r - 1 - 4*r - r**2 + (3*r**2 - r**2 + 4*r**2 + (r + 2*r - 4*r)*(2*r - 2*r + r) - 2*r + 2*r - r**2)*(-2 - 3 + 3).\n'

Answer: '-9*r**2 - 1\n'


Question: 'Expand (-4 - 2*m**2 + m**2 + 9)*(-9*m + 20*m + 6*m)*(-3*m**2 + 3*m**2 - m**2).\n'

Answer: '17*m**5 - 85*m**3\n'


Question: 'Expand (379*u - 146*u + 43*u + 171*u)*(2 - 2 + 1).\n'

Answer: '447*u\n'


Question: 'Expand (h - 3*h + 0*h)*(2*h - 4*h + h) + 7*h**2 - 17*h**2 - 27*h**2.\n'

Answer: '-35*h**2\n'


Question: 'Expand -i**3 + i**3 - i**3 + (8 + 14 - 6)*(4*i**3 - 2*i**3 - i**3) + i**3 + 3 - 3.\n'

Answer: '16*i**3\n'


Question: 'Expand (-3 + 3 - b**2)*(9 + 18 + 133 + b).\n'

Answer: '-b**3 - 160*b**2\n'


Question: 'Expand (2 - 5 + 1)*(-3 + 3 + 2*y**4) + (67*y**2 + 202 - 202)*(2*y**2 - 17*y + 17*y).\n'

Answer: '130*y**4\n'


Question: 'Expand (-t**2 + 2*t**2 + 4*t**2)*(-7623*t + 7623*t - 90*t**3).\n'

Answer: '-450*t**5\n'


Question: 'Expand (0*w**3 - w**3 - w**3)*(-54 - 42 - 11) - 2*w**3 + w - w + (w**3 + w - w)*(4 - 4 + 1) + w**3 - 3*w**3 + 0*w**3 + 5*w - 5*w - 2*w**3.\n'

Answer: '209*w**3\n'


Question: 'Expand 0*v**3 - v**4 + 0*v**3 + (-7*v**3 + 7*v**3 + 7*v**3)*(-16*v + 6*v - 9*v).\n'

Answer: '-134*v**4\n'


Question: 'Expand -4*g + 46 - 99 + 67 + (4 + 0 - 3)*(-4*g - g + 3*g).\n'

Answer: '-6*g + 14\n'


Question: 'Expand -5*v**3 + 5*v**3 - v**5 + (-3*v**4 + 3*v**4 - 2*v**4)*(12 + 4*v + 7*v - 14*v).\n'

Answer: '5*v**5 - 24*v**4\n'


Question: 'Expand (4*l + l - 3*l)*(-15*l + 27*l - 10*l) + (2*l + 4*l - 5*l)*(-10*l + 0*l + 2*l).\n'

Answer: '-4*l**2\n'


Question: 'Expand (6*l + 0*l - 2 - l)*(5*l + 5*l - 4*l)*(l**2 + 2 - 2).\n'

Answer: '30*l**4 - 12*l**3\n'


Question: 'Expand (-89*s**3 + 88*s**3 + 90*s - 25*s)*(-3*s + 3*s + 2*s).\n'

Answer: '-2*s**4 + 130*s**2\n'


Question: 'Expand -4 + 4 - f**2 + (-23 + 4*f - 20*f + 14*f)*(0*f + f + f)*(-11 + 6 + 7).\n'

Answer: '-9*f**2 - 92*f\n'


Question: 'Expand (45*v + 55 - 34*v - 12*v)*(4 + 1 - 1).\n'

Answer: '-4*v + 220\n'


Question: 'Expand (42*l**4 - 122*l + 122*l)*(-2 + 1 - 2 + 1 + 2 - 5 + (-1 + 0 + 2)*(-2 - 2 + 2)).\n'

Answer: '-294*l**4\n'


Question: 'Expand (11 + 13*h**4 - 8*h**4 - 6*h**4)*(-1 - 1 - 1).\n'

Answer: '3*h**4 - 33\n'


Question: 'Expand -33*f**3 - 17*f**3 - 3*f**3 + (-2*f + 5*f - 2*f)*(-f**2 - 3*f**2 + 2*f**2) - 12 - 6*f**3 + 12.\n'

Answer: '-61*f**3\n'


Question: 'Expand (-2*y**3 - 3*y**3 + 4*y**3)*(-101*y**2 - 201*y**2 - 129*y**2).\n'

Answer: '431*y**5\n'


Question: 'Expand -1 - l + 1 + (-1 + 2 + 1)*(-18*l + 22*l - 12*l).\n'

Answer: '-17*l\n'


Question: 'Expand (-2 + 2 + 2*q**3)*(-1440 - 1588 + 1006).\n'

Answer: '-4044*q**3\n'


Question: 'Expand 147*l**5 + 102 - 102 + (0*l**2 + 0*l**2 - 2*l**3)*(-3*l**2 + 6*l**2 + 0*l**2).\n'

Answer: '141*l**5\n'


Question: 'Expand 0*c + 0*c + 3*c + (7 - c - 7)*(6 + 18 - 8) - 3*c + 0*c + 4*c - 4*c + 5*c + 0*c.\n'

Answer: '-11*c\n'


Question: 'Expand (3 - 3 - 11*x)*(3 + 0 - 1) + 2*x + 5*x + 2*x.\n'

Answer: '-13*x\n'


Question: 'Expand -53*h + 42*h - 19*h - 2*h**2 + (2*h + 1 - 1)*(4 - 4 - h) - 5*h**2 + 2*h**2 + 2*h**2 - 3*h - h**2 + 3*h.\n'

Answer: '-6*h**2 - 30*h\n'


Question: 'Expand (4*o - 2*o - o + (-1 - 1 + 0)*(-3*o - o + 5*o))*(16 + 2 + 12).\n'

Answer: '-30*o\n'


Question: 'Expand (-2*i + 0*i + 0*i)*(1 + 0 - 4)*(-19 - 17 - 2) + (-1 - 2*i + 1)*(2 - 5 + 2).\n'

Answer: '-226*i\n'


Question: 'Expand (21*v**2 + 109*v**2 - 60*v**2)*(v**2 + 2 - 2).\n'

Answer: '70*v**4\n'


Question: 'Expand (-2*d + 3 - 3)*(-99*d - 2*d - 52*d).\n'

Answer: '306*d**2\n'


Question: 'Expand (-j**2 - 5*j + 5*j)*(-8*j + 0*j + j)*(2 + 5*j**2 - 2).\n'

Answer: '35*j**5\n'


Question: 'Expand (4 - n - 4)*(-13*n**3 - 29*n**3 - 2*n**2 + 7*n**3)*(0 - 2 + 4)*(n + 3*n - 5*n).\n'

Answer: '-70*n**5 - 4*n**4\n'


Question: 'Expand (4*i**3 + 0*i**3 - i**3)*(-7 + 5*i**2 + 4 + 5).\n'

Answer: '15*i**5 + 6*i**3\n'


Question: 'Expand (5*x - 3*x - x)*((-2 - 1 + 11)*(-5*x + 11*x + 3*x) - x + 3 + 1 + 0).\n'

Answer: '71*x**2 + 4*x\n'


Question: 'Expand (r + 0*r - 3*r)*(-2 + 2 - 2) + (-2 - 5 - 4)*(-40*r + 15*r + 15*r).\n'

Answer: '114*r\n'


Question: 'Expand -68*a + 68*a + 4*a**3 - 3*a + 3*a + a**3 + (a + 5 - 5)*(-4*a**2 + 3*a**2 - a**2) - 6*a**3 + a**2 - a**2.\n'

Answer: '-3*a**3\n'


Question: 'Expand (-2*d - 3 + 0*d + 2)*(55*d**3 + 62*d**3 - 35*d**3).\n'

Answer: '-164*d**4 - 82*d**3\n'


Question: 'Expand (-o + 1 - 1)*(-o - 3*o + 3*o) + 11*o**2 - 22*o**2 - 23*o**2 - 7*o**2 + 2 - 2.\n'

Answer: '-40*o**2\n'


Question: 'Expand (-256 + 256 - 17*g)*(2*g**3 + 9*g - g**3 + 0*g) + (2*g**3 - 4*g**3 + g**3)*(g + 3 - 3) - g**3 + 3*g**4 + g**3.\n'

Answer: '-15*g**4 - 153*g**2\n'


Question: 'Expand -3*y + 5*y + y + 3*y - 2 + 2 + (4 + 1 - 4)*(6*y - 3*y - 2*y).\n'

Answer: '7*y\n'


Question: 'Expand -v**5 + 3*v**5 + v**5 + (0*v**2 + 3*v**2 + 0*v**2 + 7*v)*(1 - 3*v**3 - 1).\n'

Answer: '-6*v**5 - 21*v**4\n'


Question: 'Expand (3*k**4 - k**4 - 3*k**4)*(18*k - 8*k + 0 + 0).\n'

Answer: '-10*k**5\n'


Question: 'Expand (0*x**4 - 11*x**4 - 9*x**4)*(11*x - x - 2 - 2*x).\n'

Answer: '-160*x**5 + 40*x**4\n'


Question: 'Expand -2*i**2 - 9*i + 9*i + 24*i + (-4*i**2 - 3*i**2 + 6*i**2)*(-3 + 3 + 1).\n'

Answer: '-3*i**2 + 24*i\n'


Question: 'Expand (80*z - 11*z**2 - 80*z)*(4*z - 4*z - 2*z + (-1 - 1 + 1)*(3*z + 4*z + 4*z)).\n'

Answer: '143*z**3\n'


Question: 'Expand (-3*c**2 + 5*c**2 - 15*c**2)*(3 - 2 - 3)*(-4*c**3 - 2*c**2 + 2*c**2) + (-c**2 - c**2 + 0*c**2)*(-9*c**3 - 16*c + 16*c).\n'

Answer: '-86*c**5\n'


Question: 'Expand (15 + 6 - 8)*(2*p + 1 - 1)*(-p + p - 4*p**2)*(2*p**2 - p**2 + 3*p**2).\n'

Answer: '-416*p**5\n'


Question: 'Expand (-b - 2*b + 2*b)*(b**2 - 2*b**2 + 0*b**2) - 4*b**3 + 0*b**3 + 5*b**3 + 16*b**2 - 77*b**2 - b**3 - 8*b**2.\n'

Answer: 'b**3 - 69*b**2\n'


Question: 'Expand (-3 - 7 - 2*x + 12)*(-111*x - 23*x**3 + 111*x) + 4*x**4 + 0*x**4 - 2*x**4.\n'

Answer: '48*x**4 - 46*x**3\n'


Question: 'Expand (4*l - 6*l + 4*l + 1)*(-42 + 42 - 2*l).\n'

Answer: '-4*l**2 - 2*l\n'


Question: 'Expand (w - w + 2*w)*(2*w - 2*w + 2*w**2)*(-2*w**2 - 1 + 140*w - 136*w - w**2).\n'

Answer: '-12*w**5 + 16*w**4 - 4*w**3\n'


Question: 'Expand (w + 0*w + 0*w)*(5 - 5 + 5*w)*(-4*w + 4*w + w**2)*(5 + 0 + 1).\n'

Answer: '30*w**4\n'


Question: 'Expand (2 - 6 - 2)*(0 - 3 + 14)*(-3*p - 4 + 4).\n'

Answer: '198*p\n'


Question: 'Expand (5*z - 6*z - z)*(-8 - 1 + 21) + (1 - 5 + 7)*(0*z - z - 2*z).\n'

Answer: '-33*z\n'


Question: 'Expand -x**4 + x**3 - x**3 - 2 + 2 + 3*x**4 + x**4 - 5*x**4 - 4*x**4 + (3 - 3 - x)*(-3*x**3 + 3*x**3 - 3*x**3) - x**3 - x**4 + x**3.\n'

Answer: '-4*x**4\n'


Question: 'Expand (-10*a - 7*a + a)*(2 + 2 - 5) + (1 - 3 - 2)*(-2*a - 9 + 9).\n'

Answer: '24*a\n'


Question: 'Expand (-3*u**2 + 2*u**2 - u**2 + (4*u**2 + 0*u**2 + 0*u**2)*(0 - 1 + 2))*(3*u - 3*u - 2*u).\n'

Answer: '-4*u**3\n'


Question: 'Expand 5*f**3 - 5*f**3 - f**5 + (1 - 1 - 2*f**3)*(-4*f**2 + 5*f**2 - 2*f**2) + f**5 + 6*f**3 + 335*f**2 + 12*f - 335*f**2.\n'

Answer: '2*f**5 + 6*f**3 + 12*f\n'


Question: 'Expand (l**2 + 4*l - 4*l - 2*l**2 - 2*l**2 + 5*l**2 + (-4 + 3 + 3)*(l**2 - l + l))*(-3 - 1 + 1) + (1 - 1 + 4*l)*(-l - 1 + 1).\n'

Answer: '-16*l**2\n'


Question: 'Expand 2 - 2 - j + (3*j - 2*j - 3*j)*(4 - 1 - 4) + 1 + 7*j + 61*j - 10*j.\n'

Answer: '59*j + 1\n'


Question: 'Expand 9 + 2*v - 9 + (-1 - v + 1)*(2 + 0 - 3) - 1 + 1 + v - 2*v + 4*v + 0*v.\n'

Answer: '6*v\n'


Question: 'Expand ((-2 + 2 - t)*(-5*t**4 + 4*t**4 - t**4) + (2*t**4 + 3*t**3 - 3*t**3 + (-2 + 2 + 2*t**2)*(-t**2 + 2*t**2 + 0*t**2))*(-6*t - 7*t + 2*t))*(10 + 8 - 11).\n'

Answer: '-294*t**5\n'


Question: 'Expand (o**2 - 2*o**2 - o**2)*(0*o - 2*o + o)*(o - o - 4*o**2).\n'

Answer: '-8*o**5\n'


Question: 'Expand (1 + 1 - 1)*(-g - 2*g + 2*g)*(67*g**3 + 4886*g**2 - 4886*g**2).\n'

Answer: '-67*g**4\n'


Question: 'Expand (-6*q**4 + 1 - 3*q**4 + 7*q**4)*(0*q + q + 0*q) + (-14*q**3 + 11*q**5 + 14*q**3)*(0 - 1 - 2).\n'

Answer: '-35*q**5 + q\n'


Question: 'Expand (3 + 468 - 153)*(o + o - 4*o) - 3*o + 3*o + o + (5 - o - 5)*(-2 + 1 + 0).\n'

Answer: '-634*o\n'


Question: 'Expand (-36 + 35 - 2*c + 0*c)*(-6*c**2 + 34*c**2 - c**2).\n'

Answer: '-54*c**3 - 27*c**2\n'


Question: 'Expand (5*b - b - 2*b - 2*b + 5*b - b + (3 - 2 - 3)*(-b - b + 0*b))*(-3 + 3 - 2).\n'

Answer: '-16*b\n'


Question: 'Expand (5*o**4 - 3*o + 3*o)*(42 + 22 + 46).\n'

Answer: '550*o**4\n'


Question: 'Expand (-r**2 + 4*r**2 + 3*r**2)*(6 + 2 + 1).\n'

Answer: '54*r**2\n'


Question: 'Expand (0*c + 9*c - 3*c)*((3 - 6 + 5)*(5 - 3 + 1) - 1 - 3 + 6).\n'

Answer: '48*c\n'


Question: 'Expand (4*k + 0*k - 3*k)*(-53 + 61*k + 53).\n'

Answer: '61*k**2\n'


Question: 'Expand (0*b + 3*b - b)*(0 - 2 + 0) + 3*b + 2*b - 4*b + 54 + 166 + 54 + 2*b.\n'

Answer: '-b + 274\n'


Question: 'Expand -d + d - d**3 + (-20*d**3 - 12 + 12)*(2 - 1 + 1 + (1 - 2 + 2)*(0 + 1 - 5)).\n'

Answer: '39*d**3\n'


Question: 'Expand -53*l**2 + 106*l**2 - 52*l**2 + 11 + (-l**2 + 0*l**2 - l**2)*(-3 - 3 + 7).\n'

Answer: '-l**2 + 11\n'


Question: 'Expand (-1 + 5*b + 8 + 2)*(-1 - 3 + 5)*(5 + 0 + 0).\n'

Answer: '25*b + 45\n'


Question: 'Expand (0*m + m**3 + 0*m)*(1204*m - 3 + 1 + 1914*m - 950*m).\n'

Answer: '2168*m**4 - 2*m**3\n'


Question: 'Expand (-4*x**2 + 23*x + 3*x**5 - 23*x)*(-78 - 35 - 44).\n'

Answer: '-471*x**5 + 628*x**2\n'


Question: 'Expand 1894 + 14*w**2 - 1894 - 7*w**2 + 3*w**2 + 2*w**2 + 0*w**2 - 3*w**2 + 2*w**2 + (0 + 0 + 2*w)*(4*w + 0*w - 3*w).\n'

Answer: '13*w**2\n'


Question: 'Expand (-1 + 5 - 2)*(-s + 2 - 2 + 2*s - 3*s + 2*s - s - 3*s + 2*s - 1 + 1 + s + 2*s - 2*s - s - 3*s + 4*s - 2*s + (s - s + 2*s)*(3 - 1 + 0)).\n'

Answer: '2*s\n'


Question: 'Expand (-2*i + 6*i - i)*(-19*i + 31*i - 23*i).\n'

Answer: '-33*i**2\n'


Question: 'Expand (-3*f - 4*f + 6*f)*(6 - 3 - 1) - f - 2 + 2 - 4*f - f + 4*f - 28 - 19*f + 28.\n'

Answer: '-23*f\n'


Question: 'Expand (-n - 5*n + 4*n)*(-3*n**3 - n**3 + 2*n**3) - 127 + 127 + 7*n**4 + 3*n**4 - n**4 + 2 + 10.\n'

Answer: '13*n**4 + 12\n'


Question: 'Expand (4*g**3 - 15*g**3 + 26*g**3)*(-2 - 2 + 2) + (3*g**2 + 2*g**2 + 2*g**2)*(4*g - g - 2*g).\n'

Answer: '-23*g**3\n'


Question: 'Expand -2*j**3 + 3*j**3 + 2*j**3 + 2*j**3 - 5*j**3 + j**3 + (-3 + 0 - 1)*(j**3 - 6*j**3 + 2*j**3) - j**3 + 0*j**3 + 3*j**3.\n'

Answer: '15*j**3\n'


Question: 'Expand -4*g**2 + g**2 - 2*g**2 + (3*g - 3*g - g)*(2*g + 3*g - 4*g) + (-2*g + 5*g - g)*(0*g + g - 5*g).\n'

Answer: '-14*g**2\n'


Question: 'Expand (-1 + 4 + 4)*(-30 - 3*r + 30) + (0 + 1 + 1)*(-2*r + r + 2*r).\n'

Answer: '-19*r\n'


Question: 'Expand (-j - 12*j**2 - 9*j**2 + 28*j**2 + 1)*(-j + 3 - 26*j + 3*j).\n'

Answer: '-168*j**3 + 45*j**2 - 27*j + 3\n'


Question: 'Expand (2 - 1 - 2)*(-3*u - 6 + 6) + (5*u + 0*u - 4*u)*(1 - 16 + 11).\n'

Answer: '-u\n'


Question: 'Expand (11 + 20 - 10)*(2*f**3 - 5*f**3 + 2*f**3).\n'

Answer: '-21*f**3\n'


Question: 'Expand (3*i + 2*i**2 - 3*i + (0*i + 4*i - 3*i)*(-2 + 2 - i) + 287 - 287 + 2*i**2)*(-1 + 1 - i**2).\n'

Answer: '-3*i**4\n'


Question: 'Expand (-3*l + 0*l + 4*l + 3 - 3 + 2*l + (0 + 1 - 2)*(11 - 6*l - 11))*(-2*l**4 + 4*l**4 + 24 - 27).\n'

Answer: '18*l**5 - 27*l\n'


Question: 'Expand (4*n - 5*n + 0*n)*(-32*n + 592 - 592 - 2 + n + 2 + 0*n - n - n + (0 + 0 - n)*(1 + 0 + 1) + 2 - 2 - 2*n + 3*n - 4*n - n + 3*n - 2*n - 2*n).\n'

Answer: '40*n**2\n'


Question: 'Expand ((-n + 6*n - 3*n)*(3*n - 5*n + 3*n) + 3*n**2 - 2*n**2 + 0*n**2)*(-1 - 3 + 6) - n**2 + n**2 - 7*n**2 + (-10*n + 3*n + 0*n)*(n - n + 2*n).\n'

Answer: '-15*n**2\n'


Question: 'Expand (-12*b + 12*b - 2*b**2)*(-2*b**2 - 3*b + 0*b + 4*b).\n'

Answer: '4*b**4 - 2*b**3\n'


Question: 'Expand (1 - 1 + 2*u)*(-2*u + 0*u + 0*u) + 218 + 23*u**2 - 218.\n'

Answer: '19*u**2\n'


Question: 'Expand (h - 3*h**2 - h)*(0*h + 6 + 2 + 2*h).\n'

Answer: '-6*h**3 - 24*h**2\n'


Question: 'Expand ((-5*g + 2*g**2 + 5*g)*(0*g**2 + 2*g**2 + 0*g**2) + (4*g**4 - 5*g**4 - 3*g**3 + 5*g**3)*(0 - 1 + 0))*(26*g - 15*g + 5*g).\n'

Answer: '80*g**5 - 32*g**4\n'


Question: 'Expand (0*t - t + 0*t)*(2*t + 2*t - 6*t) - 11763 + 11763 - 1417*t**2 - 3*t**2 + 2*t**2 + 3*t**2 + (t + 3 - 3)*(2*t - 3 + 3).\n'

Answer: '-1411*t**2\n'


Question: 'Expand (3*a**4 + 2*a**4 - 4*a**4)*(1 + 1 - 1) - 52*a**2 + 27*a**2 + 15*a**4 + 26*a**2.\n'

Answer: '16*a**4 + a**2\n'


Question: 'Expand (5*f + 3 + 5*f - 13*f)*(-3 + 2 - 3).\n'

Answer: '12*f - 12\n'


Question: 'Expand (2 + 0 - 6)*(-3*f + f - 2*f)*(0 + 0 - 2*f) + f**2 - 2*f**2 - f**2.\n'

Answer: '-34*f**2\n'


Question: 'Expand (2*p - 1 + 1)*(3*p**2 + 2*p**2 + p**2) + p**3 - p**3 + p**3 + 1 - 12*p**3 - 1.\n'

Answer: 'p**3\n'


Question: 'Expand 0*t**4 + 3*t**4 - 5*t**4 - 5*t**4 + 2*t**4 + 15*t**4 + (1 - 1 - 2*t)*(4*t**3 + 27*t**2 - 27*t**2).\n'

Answer: '2*t**4\n'


Question: 'Expand (-b**4 + b**4 + b**5)*(-6 + 4 + 3) - 2*b + 2*b - 2*b**5 + b**4 - b**4 - b**5 - 434*b**5 + 2465*b**3 - 2465*b**3.\n'

Answer: '-436*b**5\n'


Question: 'Expand (2 - 2 - j**2)*(-3 - 4 + 4 + (-2 + 4 - 4)*(4 - 3 - 2) + (5 - 1 - 2)*(6 - 3 - 2) - 4 - 4 + 6).\n'

Answer: 'j**2\n'


Question: 'Expand (-7 + 6 - 10)*(-1 + 2 - 3 + 0 + 1 - 2 + (-1 + 2 - 2)*(2 + 4 - 4))*(-40 + 8*t + 0*t - 7*t).\n'

Answer: '55*t - 2200\n'


Question: 'Expand y**4 + 2*y**4 - 5*y**4 + (-3 + 1 + 4)*(2*y**4 - 3*y + 3*y) + 2 - 2 + 3*y**4 + 30*y**4 - 16*y**4 + 2*y**2 + 3*y - 16*y**4 - 2*y**3.\n'

Answer: '3*y**4 - 2*y**3 + 2*y**2 + 3*y\n'


Question: 'Expand (0*j + 3*j + 0*j)*(-j + 6*j - 1 - j + (-2 + 2*j + 2)*(-1 - 1 + 1)).\n'

Answer: '6*j**2 - 3*j\n'


Question: 'Expand 2*i**5 - i**5 + i**5 + (10*i**2 - 26 + 26)*(4*i**3 + 4*i**3 + i**3).\n'

Answer: '92*i**5\n'


Question: 'Expand (w + 0*w - 3*w + 2*w - 2*w - 2*w + (-1 - 3*w + 1)*(-20 + 3 + 13))*((-1 + 0 - 1)*(w + 0*w + 0*w) + 0 + 0 - w).\n'

Answer: '-24*w**2\n'


Question: 'Expand (2*g**3 - 2*g**3 - g**4)*(2 - 5 + 4)*(-11 + 14 + 28).\n'

Answer: '-31*g**4\n'


Question: 'Expand (3*r**2 + 3*r**3 - 3*r**2 + (-5*r**3 - 15*r**3 + 8*r**3)*(-4 + 0 + 2))*(-3*r - 3*r + 5*r).\n'

Answer: '-27*r**4\n'


Question: 'Expand (0*j + 2*j + j)*(-28*j + 22*j - 5*j**2 + 8*j).\n'

Answer: '-15*j**3 + 6*j**2\n'


Question: 'Expand (4*y**2 - y**2 + y**2)*(3 - 4 + 0) - y + 3*y**2 + y - 2*y**2 + 4*y**2 - 3*y**2.\n'

Answer: '-2*y**2\n'


Question: 'Expand 4*f**4 - 3*f**4 + f**4 + 1345*f + 31*f**4 - 1345*f + (f**2 + 0 + 0)*(3*f**2 + f**2 - 7*f**2).\n'

Answer: '30*f**4\n'


Question: 'Expand (2*l + 3*l - 3*l)*(4*l + 2*l - 4*l)*(-7 + 47*l + 7 + (-4 + 4 - 2*l)*(-4 + 1 - 3)).\n'

Answer: '236*l**3\n'


Question: 'Expand (31*v**2 + 17*v**2 + 114*v**2)*(2 - 2 - 4*v)*(-2*v**2 + v**2 - v**2).\n'

Answer: '1296*v**5\n'


Question: 'Expand (-9*r - 37 + 37)*((1 - 3*r**2 - 1)*(-12*r + 12*r + r**2) - 2*r**4 - r**2 + r**2).\n'

Answer: '45*r**5\n'


Question: 'Expand (0*h**2 + h**2 - 11*h**2 + (2*h + 3 - 3)*(2*h - 2*h - h))*(-7 + 7 + 11*h**2).\n'

Answer: '-132*h**4\n'


Question: 'Expand 2356*q**5 - 2*q**3 + 6*q**3 - 2406*q**5 + (q**3 + 3*q**3 - 3*q**3)*(-4 + 4 - 2*q**2) + 0 + 0 - 2*q**5.\n'

Answer: '-54*q**5 + 4*q**3\n'


Question: 'Expand (46906 - 138*d**3 - 46906)*(-4*d + 3*d + 0*d).\n'

Answer: '138*d**4\n'


Question: 'Expand 1 + 11*d**2 - 2 + 2*d**5 - 5*d**2 + (-7*d - 5*d - 13*d)*(d**4 - 4 - 4*d**4 + 3).\n'

Answer: '77*d**5 + 6*d**2 + 25*d - 1\n'


Question: 'Expand -9*a**4 + 9*a**4 - 2*a**5 + a**2 + (-a - 3*a + 2*a)*(4*a**4 - 2*a**4 - 3*a**4) - 2*a**3 + 2*a**3 + a**5 + 3800*a**4 - 33*a**5 - 3800*a**4.\n'

Answer: '-32*a**5 + a**2\n'


Question: 'Expand -57*g**4 + 176*g**4 + 299*g**4 + 2*g**4 - 5*g**4 + g**4 + 2*g**4 + g**2 - g**2 + (-7 + 3 + 3)*(2*g - g**4 - 2*g) - g**4 - 3*g**3 + 4*g**3 - 4*g**3.\n'

Answer: '418*g**4 - 3*g**3\n'


Question: 'Expand (0 + b**4 + 0)*(1 + 4 + 5)*(10 - 3 - 2) + 3*b**4 + b**4 - b**4 - 4*b**2 + 4*b**2 + b**4.\n'

Answer: '54*b**4\n'


Question: 'Expand 15*o**4 + 2*o - 3*o**4 - 7*o**4 + (-3*o + 2*o - o)*(-7*o**3 + o**3 + 2*o**3).\n'

Answer: '13*o**4 + 2*o\n'


Question: 'Expand (262 + 15 - 99)*((4 - 2 - 1)*(-a + 3*a**2 + a) + 2*a**2 - 2*a**2 - a**2).\n'

Answer: '356*a**2\n'


Question: 'Expand (0*i**3 + 3*i**3 - i**3)*(-29 - 39 + 70 - 20*i).\n'

Answer: '-40*i**4 + 4*i**3\n'


Question: 'Expand (0 - 4 + 2)*(-77*u + 266 - 134 - 134).\n'

Answer: '154*u + 4\n'


Question: 'Expand (3 - 2*o**2 + o**2 + 3*o**2)*(31 - 31 - 22*o**2 + 6*o**2 - 2*o**2 - 2*o**2 + 1 - 1 - 2*o**2 + (0*o + 2*o - o)*(-2*o - 3 + 3) + 3*o**2 + o**2 - 5*o**2).\n'

Answer: '-50*o**4 - 75*o**2\n'


Question: 'Expand (-3*c + 4*c + c + (3 - 5 + 1)*(-5*c + c + 3*c))*(-13 + 9*c**4 + 13) + 9 + 4 - 2*c**5 - 1.\n'

Answer: '25*c**5 + 12\n'


Question: 'Expand (0 - 1 + 2 + (-3 + 2 + 2)*(0 + 1 - 2) + 0 - 4 + 2 + 2 - 4 + 6 - 3 + 2 + 2)*(2*c**3 - 3*c**3 + 0*c**3).\n'

Answer: '-3*c**3\n'


Question: 'Expand (-r**3 + 1 - 1)*(-r**2 - 4*r**2 + 3*r**2) - 497*r**5 + 933*r**5 + 0*r**4 + 0*r**4.\n'

Answer: '438*r**5\n'


Question: 'Expand -8*l**5 + 0*l**5 + l**5 + (-2*l + 3*l**2 + 2*l)*(0*l**2 + 0*l**2 + 2*l**3) - 180*l**2 + 180*l**2 - 9*l + 2*l**5.\n'

Answer: 'l**5 - 9*l\n'


Question: 'Expand 5*h + 0 + 0 + (-8 + 3 - 5)*(h - 4*h + 5*h).\n'

Answer: '-15*h\n'


Question: 'Expand (0*s + 0*s + 2*s**2)*(s**2 - 3*s**2 + s**2 + (-6 + 1 + 3)*(2*s**2 - s + s) - 2*s**2 - s**2 + s**2 - 4*s**2 + 0*s + 0*s + (5 - 5 - 2*s)*(4*s - s - s)).\n'

Answer: '-30*s**4\n'


Question: 'Expand (2*z - 6*z + 2*z)*(3 - 1 - 4)*(-2*z + z + 3*z)*(-1 - 1 + 0)*(5 - 6 + 5).\n'

Answer: '-64*z**2\n'


Question: 'Expand (-p + 2 - 2)*((2*p - p - 3*p)*(-3 - 2 + 2) - 1 + 1 - 2*p).\n'

Answer: '-4*p**2\n'


Question: 'Expand (-1 + i**3 + 1)*(-80*i + 23*i - 240*i + i**2 + (4*i + 4*i - 6*i)*(-6*i + 3*i + 2*i)).\n'

Answer: '-i**5 - 297*i**4\n'


Question: 'Expand m**2 + 0*m - 5*m + 6*m - 17 + (m + m - m)*(0*m - 3*m + 4*m).\n'

Answer: '2*m**2 + m - 17\n'


Question: 'Expand (6 - 2 - 1)*(-p**4 - 2*p + 2*p) - 3*p**4 - p**4 + 2*p**4 - p**4 + 4*p**4 - 2*p**4 + 3*p**4 - 4*p**4 + 0*p**4 + (3*p**4 + 0*p**4 - 5*p**4)*(-4 + 6 - 1).\n'

Answer: '-7*p**4\n'


Question: 'Expand (48*v**2 - 256*v + 256*v)*(1 - 1 + 3*v).\n'

Answer: '144*v**3\n'


Question: 'Expand (0*c**3 - 2*c**4 + 0*c**3)*(c - 4 + 2*c - c) - 3*c**5 - 4*c**5 + 0*c**5 + (-3*c + 4*c - 2*c)*(c - c + c**4) + 3*c**5 + 0*c**5 - c**2 - 2*c**2.\n'

Answer: '-9*c**5 + 8*c**4 - 3*c**2\n'


Question: 'Expand (-5*v**3 + v**3 + 3*v**3)*((-23*v + 13*v**2 + 23*v)*(-3 + 4 - 2) + 365*v - 365*v - 22*v**2).\n'

Answer: '35*v**5\n'


Question: 'Expand (2 - 1 - 4)*(-2 - 2 + 3)*(-1295 - 3*b + 1295).\n'

Answer: '-9*b\n'


Question: 'Expand k**2 - 7*k**2 + 144*k + 2 - 150*k - 2 - 2*k**2 + 2 + (-2*k + 2*k - 2*k**2)*(0 + 3 - 1) - 4*k**2 + 3*k**2 - k**2.\n'

Answer: '-14*k**2 - 6*k + 2\n'


Question: 'Expand (16*n + 34 - 19 - 12)*(-1 + 1 + 1).\n'

Answer: '16*n + 3\n'


Question: 'Expand (-2 + 3 - 2)*(h + 5*h - 4*h) + (-148 + 20 - 124)*(0*h + 4*h - 5*h).\n'

Answer: '250*h\n'


Question: 'Expand (-p + 0*p + 3*p)*(p**2 + 8*p**2 - 63119 + 63127).\n'

Answer: '18*p**3 + 16*p\n'


Question: 'Expand (12 + 18 + 40)*(-2*q**2 + q**2 - 2*q**2)*(-2 + 2 - 2).\n'

Answer: '420*q**2\n'


Question: 'Expand -224*f**4 + 440*f**4 - 131*f**4 + 8*f**2 + 3*f**4 - 2*f**4 - 3*f**2 + (-5*f**2 + 5*f**2 + f**3)*(-2*f + 2*f - f) - f**4 + 0*f**4 + 0*f**4.\n'

Answer: '84*f**4 + 5*f**2\n'


Question: 'Expand (-3*s**2 + 0*s**2 + 7*s**2)*((2 - 1 + 1)*(-2*s - 2 + 2) - 2*s + 0*s + 0*s - 5*s + 5*s + 4 - s).\n'

Answer: '-28*s**3 + 16*s**2\n'


Question: 'Expand (-8*i + 13*i + 13*i)*(i - 2*i + 3*i)*(0 - 1 - 2).\n'

Answer: '-108*i**2\n'


Question: 'Expand -z**5 + z**5 + z**5 + 2*z**5 - 4*z**5 + 3*z**5 + (0*z + z - 2*z)*(3*z**4 - 2*z**4 - 4*z**4) + 16*z**5 + 12*z**5 - 11*z**5.\n'

Answer: '22*z**5\n'


Question: 'Expand (-17*t + 17*t + 6*t**2)*(11*t + 2*t + 2*t - 3).\n'

Answer: '90*t**3 - 18*t**2\n'


Question: 'Expand (3*h - 2 + 2)*(3 - 3 - 3)*(12*h - h - 7*h).\n'

Answer: '-36*h**2\n'


Question: 'Expand (-2*b + 0*b + 3*b)*(-1 + 2 - 2 + (-1 - 3 + 2)*(9 - 39 - 12) + 3 + 0 - 9)*(2*b - b**2 - 2*b).\n'

Answer: '-77*b**3\n'


Question: 'Expand (-2*k - k**2 + 2*k)*(-8*k**2 + 9*k**2 - 3*k - 6*k**2).\n'

Answer: '5*k**4 + 3*k**3\n'


Question: 'Expand 8*h**5 - 5*h**5 + 21*h**5 - 13*h**5 - 22 + 22 + (h**4 + 3*h**4 - 2*h**4)*(-2*h - 2*h + 3*h).\n'

Answer: '9*h**5\n'


Question: 'Expand (-9*n + 0*n - 2*n)*(-16 + 2 + 0)*(1 - 5 + 3).\n'

Answer: '-154*n\n'


Question: 'Expand (332 - w**3 - 332 + 54*w**2)*(-2*w + 2*w - w**2 + (5*w - w - 2*w)*(5*w - 3*w - w)).\n'

Answer: '-w**5 + 54*w**4\n'


Question: 'Expand (-24 - 3 - 27)*(-2 + 2 + 2)*(2*q + 1 + q + 1).\n'

Answer: '-324*q - 216\n'


Question: 'Expand (9*c**2 + 4*c**2 + 3*c**2)*(-2*c**2 + 2*c**2 - c**2)*(-1 + 2 + 1)*(-1 - 1 + 0)*(-4 + 2 - 2).\n'

Answer: '-256*c**4\n'


Question: 'Expand -6*d**2 - 25*d**2 + 5*d**2 + 4*d**2 - 3*d**2 + d**2 - 2*d + d**2 + 2*d + (1 - 1 - d)*(0 + 0 + 2*d) - 2*d**2 + d**2 - d**2.\n'

Answer: '-27*d**2\n'


Question: 'Expand 2*s - 2*s + 2*s + (-2*s + s - s)*(22 + 20 - 17) - 6*s + s - 2*s.\n'

Answer: '-55*s\n'


Question: 'Expand (-1 + 3*j**2 + 1)*(-5*j**2 + 5*j**2 - 9*j**3) - 31*j**5 - 250 + 250.\n'

Answer: '-58*j**5\n'


Question: 'Expand (2*j + j - 5*j)*(1 - 1 + j)*(31*j**2 + 43*j**2 - 15*j**2).\n'

Answer: '-118*j**4\n'


Question: 'Expand (-5*a - 25*a - 15*a)*(-2 - 9 + 1) + 0 + 0 + 2*a + (2 - 4 + 4)*(1 - 1 + 2*a) + 1 - 1 - a + 0 + 0 - 2*a.\n'

Answer: '453*a\n'


Question: 'Expand (-707*r + 10*r**2 + 707*r)*(-3*r**2 - 4*r**2 - 2*r**2).\n'

Answer: '-90*r**4\n'


Question: 'Expand (-2 + 8*x**4 + 2)*(18*x - 62*x - 63*x).\n'

Answer: '-856*x**5\n'


Question: 'Expand 2*z - 2*z**3 - 2*z + (3*z**2 - 4*z**2 - z**2)*(-2*z - 2*z + 5*z) + (-5*z**2 + 0*z**2 + 9*z**2 + 2*z)*(-3*z - 1 + 1) + 6*z**3 + 2*z**3 + 0*z**3.\n'

Answer: '-8*z**3 - 6*z**2\n'


Question: 'Expand ((3 - 1 + 0)*(0*i + 2*i - 4*i) - 2*i - 1 + 1 - 2*i + 2 - 2 + (1 + 0 - 2)*(2*i - 1 + 1))*(-1 + 3*i + 1) - i**2 + 4*i**2 - 2*i**2.\n'

Answer: '-29*i**2\n'


Question: 'Expand -13 + 13 + 4*q + 4*q - q - 4*q + (5*q - 2*q - q)*(-1 - 3 + 5) + 3*q - 1 + 1.\n'

Answer: '8*q\n'


Question: 'Expand (-1 + 5 - 2 + 2*c)*(2*c - 3*c + 2*c)*(-98 + 40 + 104).\n'

Answer: '92*c**2 + 92*c\n'


Question: 'Expand (-x + 5 - 5)*(-103*x - 175*x + 368*x)*(-5 + 0 - 1).\n'

Answer: '540*x**2\n'


Question: 'Expand (0*x + 5*x + 0*x)*(6 - 4 - 10 - 6 + 5 + 3 + (2 - 3 + 3)*(0 + 5 - 3))*(-4*x + 5*x + x + (2*x + 1 - 1)*(-2 + 3 + 0)).\n'

Answer: '-40*x**2\n'


Question: 'Expand (3*w - 2*w - 2*w)*((-230 - 101 + 149)*(0 + 1 - 2) - 6 + 1 + 2 + (2 + 0 - 1)*(2 - 1 - 2)).\n'

Answer: '-178*w\n'


Question: 'Expand 3*y - 3*y - y**4 - 2*y**4 - 5*y**4 + 5*y**4 + (y - 6*y + 2*y)*(-2*y + 2*y + y**3) + 0*y**4 - 3*y**4 + 0*y**4.\n'

Answer: '-9*y**4\n'


Question: 'Expand -1 + 51*z + 17*z - 69*z - 751*z**2 - 4 + 2*z**2 + 4 - 4*z**2 + 4*z**2 + 2*z**2 + 0*z + 0*z - z**2 + (4*z - 2*z - 4*z)*(-3 + 3 - 2*z).\n'

Answer: '-744*z**2 - z - 1\n'


Question: 'Expand (-17*t**2 + 7*t**2 - 11*t**2)*(1 - 1 - 1).\n'

Answer: '21*t**2\n'


Question: 'Expand (4 + f - 5*f - 7)*(-6*f + f + 3*f) + (2*f - 6*f + 2*f)*(4*f + 0*f - 2*f).\n'

Answer: '4*f**2 + 6*f\n'


Question: 'Expand 0*g**2 + 3*g**2 - g**2 + (g - 2*g + 0*g)*(-5 - g + 5) - 129 - 118 + 15*g - 2*g**2 + 248.\n'

Answer: 'g**2 + 15*g + 1\n'


Question: 'Expand (-2 + 2 - 1)*(2 - 6 + 3)*(-3*y - 3*y + 7*y - 2*y + 0*y + 3*y + (-y + 0*y + 3*y)*(3 + 22 + 7))*((0 + 3 - 2)*(-3 + 4 - 2) + 0 - 4 + 6).\n'

Answer: '66*y\n'


Question: 'Expand (0 - 4 + 3 + 4 - 1 - 1 + (-5 + 1 + 3)*(2 + 1 - 1) - 3 - 1 + 3 + 4 + 2 - 5)*(322 - 317 - 6*n - 2*n**2 + 10*n).\n'

Answer: '2*n**2 - 4*n - 5\n'


Question: 'Expand (-14*w + 23 + 9*w + 3*w)*(5 - 4 + 1) - 3*w - w + 5*w + (3*w - 4*w - w)*(-1 + 2 + 1) + 1 + 2*w - 1.\n'

Answer: '-5*w + 46\n'


Question: 'Expand (-2*g**2 - g**2 + 4*g**2)*(-19*g - 17*g + 33*g) - 4 + 4 + g**3.\n'

Answer: '-2*g**3\n'


Question: 'Expand (3*h + 4 - 4)*(-125365 - 24*h + 2*h**2 + 125361 + 7*h).\n'

Answer: '6*h**3 - 51*h**2 - 12*h\n'


Question: 'Expand (-x**2 + 2*x - 2*x)*(-61*x**2 - 64*x**2 + 126*x**2).\n'

Answer: '-x**4\n'


Question: 'Expand (0*m - 3*m + 2*m)*(0 + 5*m - 2 + 0*m)*(-4*m**3 + 3*m**3 - m**3) - m**5 + 13*m**4 - 13*m**4 + (2*m**2 + m**2 - 2*m**2)*(0*m - m**3 + 0*m).\n'

Answer: '8*m**5 - 4*m**4\n'


Question: 'Expand (-2*d + 3*d + d)*(-4 + 4 + 4 + 1 - 1 - 2 + (5 - 3 - 1)*(-2 + 1 + 3) - 2 + 0 + 3 - 1 + 1 + 2 + 2 + 1 - 1 + 0 - 1 - 1 + 5 - 15 - 10).\n'

Answer: '-26*d\n'


Question: 'Expand (-3*w**2 - w**2 + 2*w**2)*(1 + 1 + w**2 - 1) + 237*w**4 + 66*w**4 - 40*w**4 - 4*w**4 + 3*w**4 + 0*w**4.\n'

Answer: '260*w**4 - 2*w**2\n'


Question: 'Expand (5*f**2 - 2*f**2 + 9*f + 2396 - 2395)*(-2*f - 2*f**2 + 2*f).\n'

Answer: '-6*f**4 - 18*f**3 - 2*f**2\n'


Question: 'Expand (5 - 2 + 1)*(4 - 5 + 2)*(18 - 11 - 9 - 2*v).\n'

Answer: '-8*v - 8\n'


Question: 'Expand 61 - 61 - 8*z + (0*z + 3*z + 5*z)*(-5 + 2 + 1).\n'

Answer: '-24*z\n'


Question: 'Expand (1 - 2 + 3)*(-5*u + 2*u + 0*u)*(-u**2 + 4*u**2 - 2*u**2)*(6*u + 0*u - 4*u).\n'

Answer: '-12*u**4\n'


Question: 'Expand (0*q - 4*q + 3*q)*(3*q - 3*q - 2*q) + 0*q**2 + q**2 - 2*q**2 + 2*q**2 + 0*q**2 - q**2 - q**2 - q + q + (3 + 0 + 0)*(3*q**2 + 3*q**2 - 9*q**2).\n'

Answer: '-8*q**2\n'


Question: 'Expand (-29 - 51 + 34)*(0 + 1 + 0)*(4*a - 5*a + 7*a).\n'

Answer: '-276*a\n'


Question: 'Expand -387 + 4*f**5 + 387 + 26*f**5 + 3*f**3 - 3*f**3 + 2*f**5 + 2*f**5 - f**5 - 3*f**5 + (f - 3*f + 0*f)*(0*f**2 + f**4 + 0*f**2).\n'

Answer: '28*f**5\n'


Question: 'Expand -l**3 - 4*l + 4*l + (0*l + 0*l - l**2)*(0*l + 4*l - 2*l) - 57 + 57 + 35*l**3 + 3*l**3 - 2*l**3 + 2*l**3.\n'

Answer: '35*l**3\n'


Question: 'Expand (2*w**3 + 62 - 33 - 32)*(-w**2 - 2*w**2 + 0*w**2).\n'

Answer: '-6*w**5 + 9*w**2\n'


Question: 'Expand (2*u + 2*u - 3*u)*(5*u**3 - 2*u**3 - u**3) + (-3 + 2 + 2)*(-3*u - 2*u + 3*u)*(3*u**3 - 2*u**3 + 5*u**3).\n'

Answer: '-10*u**4\n'


Question: 'Expand 84*c**2 + 70*c**2 + 177*c**2 + (-3*c**2 + c**2 + c**2)*(-1 + 6 - 3) - 2*c + 3*c**2 + 2*c.\n'

Answer: '332*c**2\n'


Question: 'Expand 0*z + z**5 + 0*z + (-z**4 + 4 - 4)*(5 - 5 + 2*z) - 3*z**5 - z**5 + 2*z**5 + 225*z**4 + 2*z**5 - 121*z**4 - 108*z**4 + 12.\n'

Answer: '-z**5 - 4*z**4 + 12\n'


Question: 'Expand (y**2 - 2*y**3 - y**2)*(-y**2 + 2*y**2 + 2*y**2) + 2*y**5 - 3*y**4 + 3*y**4 + (4*y**2 - 2*y**2 - 3*y**2)*(2*y**3 + 3*y**3 - 3*y**3) - 9*y + 9*y**5 + 9*y.\n'

Answer: '3*y**5\n'


Question: 'Expand (3*d - 4*d + 2*d)*(-5*d**3 + d**3 + d**3) + 2*d**4 - 3*d**3 + 3*d**3 + (-1 - 15 - 5)*(-3*d**3 - 2*d**3 + 2*d**3)*(-6*d + 3*d + 0*d).\n'

Answer: '-190*d**4\n'


Question: 'Expand j**3 + 2 - 2 - 10*j**3 + j**3 - j**3 + (3*j**2 - 1 + 1)*(-1 + 1 - 2*j).\n'

Answer: '-15*j**3\n'


Question: 'Expand (2*b**3 - 2*b**3 + b**4)*(14*b - b - 8*b) - 7*b**5 + 10*b**5 + 6*b**5.\n'

Answer: '14*b**5\n'


Question: 'Expand 10*m**5 - 12*m**5 - 13*m**5 + 751*m**4 - 77*m**5 - 751*m**4 + (2*m**3 + 0*m + 0*m)*(-2*m**2 - 4*m**2 + 4*m**2) + m**5 - m + m + m**5 - 2 + 2.\n'

Answer: '-94*m**5\n'


Question: 'Expand (-3*g + 3*g - 3*g)*(-6 + 0 + 4)*(-11 + 11 - 6*g + (2 + 1 - 5)*(-g + 6*g - 3*g)).\n'

Answer: '-60*g**2\n'


Question: 'Expand (4 + 17 - 31)*(w - 4*w + 3 + w) + 4 - 4 - w.\n'

Answer: '19*w - 30\n'


Question: 'Expand (2*p - 8*p - 3 + 1)*(4 + 4 - 3)*(1 - 1 + p).\n'

Answer: '-30*p**2 - 10*p\n'


Question: 'Expand (15 - 21 + 11)*(-166*o**3 - o**2 - 32*o**5 + 166*o**3).\n'

Answer: '-160*o**5 - 5*o**2\n'


Question: 'Expand (-13 - 17 + 7 + (-3 + 4 + 2)*(-5 + 2 + 2))*(2*s**4 - 3*s**4 + 2*s**4).\n'

Answer: '-26*s**4\n'


Question: 'Expand (2 - 3*v - 2)*(-6*v + 3*v + 0*v) + (-214 + 99*v + 214)*(2 - 2 + 2*v)*(0 + 0 + 2).\n'

Answer: '405*v**2\n'


Question: 'Expand -79*u**4 + 29*u**4 - 33*u**4 - 3*u**4 + 3*u**3 - 3*u**3 + (-2*u - 3*u + 3*u)*(-u**3 + 3*u**3 - 5*u**3).\n'

Answer: '-80*u**4\n'


Question: 'Expand (14 - 1 + 4)*(-2*w - 3*w + 9*w).\n'

Answer: '68*w\n'


Question: 'Expand 4*s + 18*s - 2*s + (0 - 1 + 4)*(-4*s - 4*s + 2*s).\n'

Answer: '2*s\n'


Question: 'Expand (0*j + 0*j + 2*j)*(0*j - j - j) + (-3*j + 5*j - 4*j)*(25*j - 4*j + 10*j).\n'

Answer: '-66*j**2\n'


Question: 'Expand (628 - 627 + t - 6*t)*(2*t + 5*t - 3*t).\n'

Answer: '-20*t**2 + 4*t\n'


Question: 'Expand (-1 - 3*g**2 + 4*g**2 + 3*g**2)*(15*g - 7*g + 5*g).\n'

Answer: '52*g**3 - 13*g\n'


Question: 'Expand (5 + 1 - 4)*(0*i**4 + i**4 + 0*i**4) - 3*i + 3*i + 2*i**4 + (28*i**2 - 67*i**2 - 52*i**2)*(2*i**2 + 3*i - 3*i).\n'

Answer: '-178*i**4\n'


Question: 'Expand (3*i**2 + 2*i**2 + i**2)*(4*i + 2*i - i - 2).\n'

Answer: '30*i**3 - 12*i**2\n'


Question: 'Expand (4 - 11 - 61 - 139)*(3*i**4 - i**4 - 3*i**4).\n'

Answer: '207*i**4\n'


Question: 'Expand (-18 - 24 + 3)*(0*v**4 + 4*v**4 - 5*v**4) + (3*v - 2*v - 2*v)*(0*v + 0*v + 2*v**3).\n'

Answer: '37*v**4\n'


Question: 'Expand (0 + 2*y**2 + 0)*(0*y**3 + 2*y**3 - 3*y**3) - 2*y**5 - y**5 - 264 + 234.\n'

Answer: '-5*y**5 - 30\n'


Question: 'Expand (0*b + 0*b + 2*b)*(1 + 2 - 5 + (0 + 0 + 2)*(1 + 2 - 4) + 4 + 5 - 3).\n'

Answer: '4*b\n'


Question: 'Expand (-3*j**2 + 4*j**2 + j**2)*(184*j - 124*j + 31 - 61*j - 4*j**2).\n'

Answer: '-8*j**4 - 2*j**3 + 62*j**2\n'


Question: 'Expand (-505 - 858 + 365 - 2928)*(2*t**2 - 2*t**2 - t**3 + (3*t**2 - 4*t**2 - t**2)*(0 + 0 + t)).\n'

Answer: '11778*t**3\n'


Question: 'Expand 44*p**2 + 18*p**3 - 44*p**2 + (3*p**2 - 2*p**2 - 4*p**2)*(5*p - 3*p + 0*p) + 0*p**2 + 0*p**2 + 2*p**3.\n'

Answer: '14*p**3\n'


Question: 'Expand -5*b**3 + 3*b**3 + 4*b**3 - b**3 + b**3 + 2*b**3 + (-b**3 - 2 + 2)*(2 + 1 - 6) + 11*b**3 - 7*b**3 - 5*b**3.\n'

Answer: '6*b**3\n'


Question: 'Expand (-10*s - 24 + 24)*((-2*s + 1 - 1)*(-1 - 3 + 2) + 0*s - 2*s + 0*s + (4 - 3 + 0)*(-s + 1 - 1) - 17 + 5*s + 17) + 3*s**2 - 3*s**2 + s**2.\n'

Answer: '-59*s**2\n'


Question: 'Expand (-t - t**2 + t)*(13 - 85 + 200) - 3 + 3 + 2*t**2 + 2 - t**2 - 2 + (0*t + 2*t - 3*t)*(t - t + t).\n'

Answer: '-128*t**2\n'


Question: 'Expand -6*i**4 + i**3 - i**3 + (19*i - 26*i + 16*i)*(i - i - 2*i**3).\n'

Answer: '-24*i**4\n'


Question: 'Expand (-5 - 2 + 4)*(-169*j**5 + 16*j**5 - 101*j**5 - 110*j**5).\n'

Answer: '1092*j**5\n'


Question: 'Expand ((t**2 - 2*t**2 - 2*t**2)*(-1 + 1 - t) - 27*t**2 + 27*t**2 + 5*t**3 + 4*t**2 - 4*t**2 + 2*t**3)*(4*t**2 - 2*t**2 - t**2).\n'

Answer: '10*t**5\n'


Question: 'Expand (276*p - 276*p + 47*p**2)*(-p**3 + 2*p - p + p).\n'

Answer: '-47*p**5 + 94*p**3\n'


Question: 'Expand (-p + 3*p - p - p + 0*p - p + (-2 - 3 + 3)*(p + p - p))*(13 - 19 + 8 + 19*p).\n'

Answer: '-57*p**2 - 6*p\n'


Question: 'Expand (42*l**3 + 21*l**3 - 12*l**3)*(2 - 1 - 4 + (0 + 1 - 4)*(1 + 2 - 1)).\n'

Answer: '-459*l**3\n'


Question: 'Expand (0*q - 2*q**3 + 0*q)*(2 - 3 - 2) - 30*q**3 + 11*q**3 + 14*q**3.\n'

Answer: 'q**3\n'


Question: 'Expand -4 - f - f + 5*f + (3 - 4 + 0)*(25 - f - 25).\n'

Answer: '4*f - 4\n'


Question: 'Expand (-3 + 3 + 1 + (-1 + 0 + 3)*(4 + 0 + 0) - 2 - 3 - 2)*(2*o**4 + 3*o**4 - o**4).\n'

Answer: '8*o**4\n'


Question: 'Expand (-3*x**4 + 4*x**4 + x**4)*(13*x + 21*x - 33*x).\n'

Answer: '2*x**5\n'


Question: 'Expand ((2*j - 3 + 3)*(-2 + 4 + 0) + 0*j - 2*j + 3*j + 2*j - 3*j - j)*(-20*j**3 + 18*j**3 - 11*j**2 - 5 + 4).\n'

Answer: '-6*j**4 - 33*j**3 - 3*j\n'


Question: 'Expand (-m + 38*m - 20*m)*(-11 + 11 - 4*m).\n'

Answer: '-68*m**2\n'


Question: 'Expand 619 + 3*q**2 + 0*q**2 - 620 + 0 + 0 - q**2 + (0 + 0 - 2*q**2)*(-1 - 2 + 2) + 2*q**2 + 2*q**2 - 2*q**2 + 0*q**2 + 3*q**2 - q**2 + 2*q**2 + 3*q - 3*q.\n'

Answer: '10*q**2 - 1\n'


Question: 'Expand (h - h + 2*h**3)*(-761 + 101 - 670 - 721).\n'

Answer: '-4102*h**3\n'


Question: 'Expand -33*k**4 - 47*k**3 + 45*k**3 + 0 - 2 + (-k**3 + 3*k**3 - 3*k**3)*(-3*k - 7 + 7).\n'

Answer: '-30*k**4 - 2*k**3 - 2\n'


Question: 'Expand (4*u - 15*u + 8*u)*(1 - 2 + 0 + (4 - 1 - 1)*(-2 + 0 + 0) + 0 + 0 - 2 + (0 + 2 + 0)*(-5 + 0 + 2) - 5 + 1 + 5) + 2 - 2 + u.\n'

Answer: '37*u\n'


Question: 'Expand -3*b + 3*b - 2*b**2 - 2*b**2 - 7*b**2 - 3*b**2 + (4*b - 3*b - 2*b)*(4*b - b - 4*b).\n'

Answer: '-13*b**2\n'


Question: 'Expand (-2*n + 2*n + 3*n + (3 + 0 - 6)*(-5*n - n + 4*n))*(-7*n**2 + 21*n**2 - 7*n**2).\n'

Answer: '63*n**3\n'


Question: 'Expand (-276*g**2 + 276*g**2 + 128*g**4)*(-4 + 2 + 3).\n'

Answer: '128*g**4\n'


Question: 'Expand (272 - 37 - 18)*(3*l**3 - 3*l**3 - l**3).\n'

Answer: '-217*l**3\n'


Question: 'Expand (-2 + 3468*v - 3460*v + 0)*(4 - 4 + 2*v)*(2 - 2 - 2*v**2).\n'

Answer: '-32*v**4 + 8*v**3\n'


Question: 'Expand 5 - 5 + a**3 + (-5*a - 5*a + 2*a)*(3*a**2 + a**2 - 2*a**2) + (-2 + 2 + 2)*(4*a**3 - a**3 - a**3) + a**3 + 5*a**2 - 5*a**2.\n'

Answer: '-10*a**3\n'


Question: 'Expand (-31 - 3*z**2 + 31)*(3*z**2 - 3*z**2 - 2*z**2) + z**4 - z**3 + z**3.\n'

Answer: '7*z**4\n'


Question: 'Expand (-3*a + 6*a - a)*(10 + 30 + 21)*(-2*a**3 + 0*a**3 + a**3).\n'

Answer: '-122*a**4\n'


Question: 'Expand (1 - 3*k**2 + k + 0 + 2*k**2)*(k**2 + 15*k**2 + 0*k**2) - 4*k**2 + 4*k**2 - 4*k**4 + (k**2 + 0 + 0)*(-k**2 + 2*k**2 - 3*k**2) - 2*k**4 + 3*k - 3*k.\n'

Answer: '-24*k**4 + 16*k**3 + 16*k**2\n'


Question: 'Expand ((w + w - 4*w)*(7*w**3 + 17*w**3 - 15*w**3) + (2*w - w + w)*(2*w**3 - 2*w**3 + 3*w**3))*(4 - 3 - 2).\n'

Answer: '12*w**4\n'


Question: 'Expand u**2 + 0*u**2 - 6*u**2 + (0*u**2 - 4*u**2 + 3*u**2)*(-4 + 0 + 1) - u**2 + 31*u**2 + u**2.\n'

Answer: '29*u**2\n'


Question: 'Expand (-6*y**2 + y**2 - 16*y**2)*(4*y**2 - 5*y**2 + 0*y**2) + 2*y**3 - 2*y**3 + y**4 - 2*y + 2*y - y**4.\n'

Answer: '21*y**4\n'


Question: 'Expand (5*l**2 - 3*l**2 + l**2)*(10 - 9 - 2)*(17*l - 5*l - 6*l).\n'

Answer: '-18*l**3\n'


Question: 'Expand (33*l + 30*l + 23*l)*(3 - 1 + 1 + (-2 + 5 - 2)*(1 + 2 - 4)).\n'

Answer: '172*l\n'


Question: 'Expand (5*d + 2*d**3 + 2*d + d)*(-682 - 76*d + 682) + 3*d**4 + d**4 - 2*d**4.\n'

Answer: '-150*d**4 - 608*d**2\n'


Question: 'Expand (3 + 1 - 5)*(35*i + 54*i - 35*i) + (-i + i - 2*i)*(-4 + 5 + 0).\n'

Answer: '-56*i\n'


Question: 'Expand (-3*r**5 + r**5 + 0*r**5)*(-2 + 2 - 3)*(-10 + 6 - 8).\n'

Answer: '-72*r**5\n'


Question: 'Expand (1 - 1 - 3)*((2 - 3 + 0)*(-4*t**2 + 5 - 5) - t + t + 2*t**2 + 4*t**2 + 0 + 0).\n'

Answer: '-30*t**2\n'


Question: 'Expand (2*a**3 + a**4 - 2*a**3 + (0*a**2 + a**2 - 5*a**2)*(a**2 + 3 - 3))*(-2 + 2 + 2*a + (0 - 4 + 3)*(2*a + 0*a + 0*a) - 3*a + a + 3*a).\n'

Answer: '-3*a**5\n'


Question: 'Expand (3*u**2 - 3*u**2 - 3*u**2)*(-3*u + 0*u + 4*u)*(-19*u + 5*u - 2*u).\n'

Answer: '48*u**4\n'


Question: 'Expand -5*t**3 - 3*t**3 + 2*t**3 + (0 + 1 - 3)*(-5*t**3 + 2*t**3 + t**3).\n'

Answer: '-2*t**3\n'


Question: 'Expand 3 - 4*n + 3*n - 5 + (4*n - 2 + 2)*(-2 + 2 - 8)*(7 - 2 - 3 + 2 - 3 - 1 + (-2 - 1 + 4)*(2 + 0 - 3) - 1 - 2 - 5).\n'

Answer: '287*n - 2\n'


Question: 'Expand -8*z**2 + 6*z**2 - 2*z**2 + (-2*z - 31*z - 67*z)*(-z + 2*z - 2*z).\n'

Answer: '96*z**2\n'


Question: 'Expand (-40 - 69 + 184 - 41 - 7*h)*(-6 + 2 + 2).\n'

Answer: '14*h - 68\n'


Question: 'Expand -17*c**5 - 128*c**5 + 13*c**5 + (1 - 3 + 3)*(3*c**2 - 3*c**2 + c**5) - 3*c**5 + 3*c**2 - 3*c**2.\n'

Answer: '-134*c**5\n'


Question: 'Expand (-9*f**3 + 0*f + 0*f)*(2*f**2 + 39*f**2 + 20*f**2).\n'

Answer: '-549*f**5\n'


Question: 'Expand (3*h + 0*h - 5*h)*(-5 + 1 + 3)*(8*h - 11*h + 0 + 2).\n'

Answer: '-6*h**2 + 4*h\n'


Question: 'Expand -8*n**2 + 8*n**2 - 4*n**3 + (2 - 2 + n**2)*(2*n + 0 + 0) - 1325*n + 1325*n - 121*n**3.\n'

Answer: '-123*n**3\n'


Question: 'Expand 9*l**2 - l**4 - l**3 + 2*l - 31*l**2 - 26*l**2 + (-1 + 1 + 2*l**2)*(-3*l**2 + l**2 + 3*l**2).\n'

Answer: 'l**4 - l**3 - 48*l**2 + 2*l\n'


Question: 'Expand (188 + 188 - 388)*(4 - 4 - 2*q).\n'

Answer: '24*q\n'


Question: 'Expand (7 - 5 + 7)*((-2 + 1 + 2)*(0*q + 0*q + q) - 2*q + 3*q - 3*q + 52*q + 5 - 72*q - 6).\n'

Answer: '-189*q - 9\n'


Question: 'Expand (0*k + 3*k - 5*k)*(-98 - 69 - 240).\n'

Answer: '814*k\n'


Question: 'Expand (-1 + 0 + 0 + (2 - 2 + 2)*(0 + 2 - 1) - 1 - 3 + 3 - 3 + 3 + 3)*(4 - 8*d**2 + 10 + 4*d**2).\n'

Answer: '-12*d**2 + 42\n'


Question: 'Expand (0*a - 3*a + 2*a)*(-2*a + 3 - 3) - 2*a**2 - a**2 + 12*a**2 - 14*a**2 + 11*a**2 - 12*a**2.\n'

Answer: '-4*a**2\n'


Question: 'Expand (-s + 0*s + 0*s)*(98*s + 57*s + 4956*s**3 - 155*s).\n'

Answer: '-4956*s**4\n'


Question: 'Expand (4 + 0 - 2)*(0*y + y + 0*y - 2*y - 3*y + 3*y + 0*y + 3*y - y - 2*y + 2*y + 2*y + (4*y + 4*y - 6*y)*(3 - 1 + 0))*(34 + 17 - 235).\n'

Answer: '-2576*y\n'


Question: 'Expand 4*a**4 - 2*a**4 + 0*a**4 + (3 - 3 - 2*a - 56 + 44*a + 56 + (2 - 2 + 1)*(-4 + 2*a + 4))*(a**3 + 3*a**2 - 3*a**2).\n'

Answer: '46*a**4\n'


Question: 'Expand (1680*u + 134 - 1681*u + 39)*(-4*u + 3 - 3).\n'

Answer: '4*u**2 - 692*u\n'


Question: 'Expand (24 - 50 + 84)*(2*i - 2*i**2 - 2*i)*(-9*i - 3 + 3 + i).\n'

Answer: '928*i**3\n'


Question: 'Expand (3*i + 12*i - 3*i)*(-4 + 4 + 5*i**2) - i**3 - 3*i**2 + 3*i**2.\n'

Answer: '59*i**3\n'


Question: 'Expand -9*b**4 - 13*b**4 + 30*b**4 - 5*b + (11 - b - 11)*(2*b**2 - 2*b**2 - b**3).\n'

Answer: '9*b**4 - 5*b\n'


Question: 'Expand (2 - 2 + 2*b**2)*(-2*b**3 + 28 - 30 + 46).\n'

Answer: '-4*b**5 + 88*b**2\n'


Question: 'Expand u**2 - 3*u**2 + 0*u**2 + (2*u**2 + 2 - 2)*(3 + 3 - 1).\n'

Answer: '8*u**2\n'


Question: 'Expand ((5*t - 2*t - t)*(-5*t + t + 2*t) + t - 2*t**2 - t)*(0*t**3 - 2*t**3 + 0*t**3) - 5*t**5 - 7*t**5 + 5*t**5.\n'

Answer: '5*t**5\n'


Question: 'Expand (0 + 0 + 1 + (-4 + 4 - 2)*(-4 + 4 + 1) + 0 + 0 - 1 - 1 - 1 + 5)*(6238*l - 6238*l - 15*l**5).\n'

Answer: '-15*l**5\n'


Question: 'Expand (0*m**2 + 3*m**2 + 3*m**2)*(-32*m - 15*m - 98*m - 56*m)*(-2 - 1 + 1).\n'

Answer: '2412*m**3\n'


Question: 'Expand (-49 + 8 + 24)*(-2*j + 0*j + 4*j + (-2 + 2 + 2*j)*(4 - 1 - 1) + 3*j + 0*j + 0*j).\n'

Answer: '-153*j\n'


Question: 'Expand (35570 - 35570 - 263*o)*(0*o**3 + 5*o**3 - 3*o**3).\n'

Answer: '-526*o**4\n'


Question: 'Expand (9*g - 2*g - 3*g)*(0 + 0 + 1)*(-4 - 4*g + 4)*(0 + 3 - 1).\n'

Answer: '-32*g**2\n'


Question: 'Expand (-2*l**2 + 3*l**2 + 0*l**2)*(-420*l - 340*l + 162 - 162).\n'

Answer: '-760*l**3\n'


Question: 'Expand (2*m**2 - 2*m**2 + 2*m**2)*(6 + 3 - 8 - 16*m).\n'

Answer: '-32*m**3 + 2*m**2\n'


Question: 'Expand -5*u**2 - 2*u**5 + 5*u**2 - 3 + 0*u**5 - 5*u**5 + 2*u**5 + (u + 0*u - 3*u)*(u**4 + 3*u**4 - 5*u**4) - u**3 - u**5 + u**3.\n'

Answer: '-4*u**5 - 3\n'


Question: 'Expand 4*n - 5*n + 3*n + 5 - 5 + 2*n - n + 2*n + 0*n + (-1 - 3 + 3)*(0 + 0 - 2*n) + n + 41*n + 20*n.\n'

Answer: '69*n\n'


Question: 'Expand (1 + 0 + 1 + (-4 + 3 + 3)*(-2 - 3 + 3))*(v - 7*v + 4*v + (-2*v + 1 - 1)*(-10 + 15 + 16)).\n'

Answer: '88*v\n'


Question: 'Expand (0*y + y - 2 - 2*y)*(2*y - y - 3*y - 4*y + 5*y - 3*y + (1 - 1 - y)*(-1 + 3 - 1) - 239*y - 535 + 535).\n'

Answer: '244*y**2 + 488*y\n'


Question: 'Expand (-3*q - 2*q + 3*q)*(-176 + 176 + q + 26*q**2).\n'

Answer: '-52*q**3 - 2*q**2\n'


Question: 'Expand (17 - 14 + 2*l + 14*l**3 + 95*l**3)*(2 - 3 + 0).\n'

Answer: '-109*l**3 - 2*l - 3\n'


Question: 'Expand (-x + 2*x + 5*x)*(-4 + 1 + 2) - 4*x + 4*x + 2*x - 4 + x + 4 + (-2*x + 1 - 1)*(1 - 4 + 1) - 3*x + 5*x - x.\n'

Answer: '2*x\n'


Question: 'Expand (3*m - 3*m - 4*m)*(5 - 13 - 13 + m).\n'

Answer: '-4*m**2 + 84*m\n'


Question: 'Expand (18 - 70 - 16)*(2*p**4 - 4 + 4 + (2 + 1 - 4)*(3*p**4 - 2*p**4 + 0*p**4) - 3*p**4 + 0 + 0).\n'

Answer: '136*p**4\n'


Question: 'Expand p**2 + p**2 - p**2 - 2*p**2 - 2*p**2 + 6*p**2 + (-5*p**2 - 2*p**2 + 5*p**2)*(-3 - 2 + 3) + 16 + 14*p**2 - 16.\n'

Answer: '21*p**2\n'


Question: 'Expand (-s**2 - 2 + 2)*(-s**2 + s**2 - 2*s**2 + (-3*s + s - s)*(s - 2 + 2))*(-4*s + 2*s + 4*s + (4 - 4 - 1)*(-s - 2*s + 5*s) + 0*s + 5*s - 42*s).\n'

Answer: '-185*s**5\n'


Question: 'Expand (15*m - 20*m + 9*m)*(3 - m - 3)*(-3 + 3 - 3).\n'

Answer: '12*m**2\n'


Question: 'Expand -2*i**3 - 4*i**3 - 4*i**3 + (4*i**3 - 15 - 8*i**3 + 5*i**3)*(-1 + 2 + 2)*(-2 + 4 - 4).\n'

Answer: '-16*i**3 + 90\n'


Question: 'Expand 3*a**4 + 0*a**4 - 2*a**4 + (-9*a - 7*a - 2*a)*(2*a**3 - a**3 - 5*a**3) + 4*a**4 - a**4 - 6*a**4.\n'

Answer: '70*a**4\n'


Question: 'Expand (5 - 5 - 2*y + (3 - 3 + y)*(5 - 4 + 1) + y + y - 3*y)*(y - 5*y + 2*y)*(0 - 47 - 34).\n'

Answer: '-162*y**2\n'


Question: 'Expand (370 - 370 + 50*a)*(2*a + 0 + 0)*(a + 2*a - 2*a)*(a + 3*a - a).\n'

Answer: '300*a**4\n'


Question: 'Expand (65*r**3 + 2 - 6 - 66*r**3 + r)*(r + 10*r + r).\n'

Answer: '-12*r**4 + 12*r**2 - 48*r\n'


Question: 'Expand (-7*t - 20*t + 8*t)*(t**3 + 0*t**3 + t**3).\n'

Answer: '-38*t**4\n'


Question: 'Expand -335*o**4 - 108*o**4 + 1137*o**4 - 3*o**4 + 6*o**4 - 4*o**4 + (4 - 4 + 2*o)*(3*o**3 - o**3 - o**3).\n'

Answer: '695*o**4\n'


Question: 'Expand (-3*n**3 - 4 + 1512*n**2 - 1512*n**2)*(11*n - 4*n - 2*n) + 1 - 1 - 2*n**4 + (2*n**4 + 0*n**4 + 0*n**4)*(-3 + 1 + 0).\n'

Answer: '-21*n**4 - 20*n\n'


Question: 'Expand (13 + 12 + 2)*(7 - 2 - 4)*(-r + 0 + 0)*(0 - 3 + 7).\n'

Answer: '-108*r\n'


Question: 'Expand (5 - 4 + 1 + (-50 + 98 - 55)*(0 - 6 + 4))*(2 + 2*w - w + 0*w).\n'

Answer: '16*w + 32\n'


Question: 'Expand (-23*l + 24*l - 5 - 11)*(0 + 0 - 3*l).\n'

Answer: '-3*l**2 + 48*l\n'


Question: 'Expand (3 - 3 - 13)*(3*s + 3*s + 0*s)*(1 - 4*s + s + s).\n'

Answer: '156*s**2 - 78*s\n'


Question: 'Expand 0*b**2 + 2*b**2 + 0*b**2 + b**2 - 4*b**2 + 4*b**2 + (4 - 4 - 2)*(-3*b**2 + 6*b**2 - b**2).\n'

Answer: '-b**2\n'


Question: 'Expand (s**2 - 4*s**2 - 3*s**2)*(0*s - s + 0*s + 2)*(2 - 93 - 3) + 2*s**3 + 2*s**3 - 6*s**3.\n'

Answer: '-566*s**3 + 1128*s**2\n'


Question: 'Expand (30*g**2 - 37*g**2 - 11*g**2 + (g**2 + 1 - 1)*(1 - 4 + 4))*(-5*g**3 - 3*g**2 + 3*g**2).\n'

Answer: '85*g**5\n'


Question: 'Expand -9*x**4 - 6*x - 723*x**3 + 723*x**3 + (3*x**3 - 3*x**3 + x**3)*(0 + 0 + x) + 0*x**2 - 2*x**4 + 0*x**2 - 4*x**4 - x**4 + 2*x + 2*x**4.\n'

Answer: '-13*x**4 - 4*x\n'


Question: 'Expand (123324 - 67*c - 123324)*(-4*c + c**2 + 4*c).\n'

Answer: '-67*c**3\n'


Question: 'Expand (-3*f + 210 - 106 - 102)*(5 - 2 + 1).\n'

Answer: '-12*f + 8\n'


Question: 'Expand (2 - 2 - 2)*(-2*s + 5*s - 2*s) + 0*s + 3*s + 5*s - s + 3 - 3.\n'

Answer: '5*s\n'


Question: 'Expand (5*m**2 + 0*m**2 + 2*m**2)*(3 - 1 - 10)*(-4 + 4 + 2 + 1 + 0 + 1 + 3 - 4 + 2 - 4 - 1 + 4 + (-1 + 1 - 2)*(3 - 2 - 2) - 1 - 3 + 2 + 3 - 1 - 1 + 2 - 2 - 2).\n'

Answer: '-168*m**2\n'


Question: 'Expand (25*c + 4 - 1 - 2)*(9*c - 3*c - 7*c).\n'

Answer: '-25*c**2 - c\n'


Question: 'Expand (0*n**3 + 0*n**3 - 2*n**3)*(1 - 3 + 0) + 2*n**3 - 3*n**3 + 3*n**3 + 15*n**3 + 18*n**2 - 18*n**2 - 2*n**3 + 2*n**2 - 2*n**2 + 3*n**3 - 3*n**3 + n**3.\n'

Answer: '20*n**3\n'


Question: 'Expand -2 + 2*p**5 + 2 + (-p**2 + 5*p**2 - 2*p**2)*(p**3 - 2*p**3 - p**3) + 50 - 50 - 16*p**5 + (4*p**4 + 4*p**4 - 5*p**4)*(2*p + 0 + 0).\n'

Answer: '-12*p**5\n'


Question: 'Expand 2 - 2 + q**5 + 0*q**5 + 3*q**5 - 2*q**5 - 2*q**5 + q - q + (q**4 + 4*q**3 - 4*q**3)*(4*q - q - 4*q) + 3*q**5 + 8*q**5 + q**5 - 2*q**5 + 4*q**3 - 4*q**3.\n'

Answer: '9*q**5\n'


Question: 'Expand ((6 - 1 - 3)*(0*n + 0*n - n**2) - 3*n**2 + n**2 + 0*n**2 - 23*n - 13*n**2 + 23*n)*(-116 - 17*n + 116).\n'

Answer: '289*n**3\n'


Question: 'Expand (-2*d - 4*d + 5*d)*(-8 + 8 - 25*d**2)*(4*d**2 - d + 3*d - 6*d**2) + (-d**3 + d**3 + d**4)*(5*d + 2*d - 5*d).\n'

Answer: '-48*d**5 + 50*d**4\n'


Question: 'Expand (25*x**2 + 12*x**2 - 4*x**2 + 2 + 5*x**2 - 2 + (-x - 2*x + 4*x)*(-x - 5*x + 5*x) + 2 - 2 - x**2)*(-2*x**2 + 2*x**2 - x**2).\n'

Answer: '-36*x**4\n'


Question: 'Expand (-p - p + 0*p)*(4 - 2 - 4) + p - 3*p - 11*p + (1 - 4 + 1)*(2*p - 5 + 5) + (10 - 2 - 3 + (0 + 0 + 3)*(0 - 1 + 3))*(-2*p + 3 - 3).\n'

Answer: '-35*p\n'


Question: 'Expand (3*q - 2*q + 7 + 0*q)*(7*q**3 + 8*q**3 + 22*q**3).\n'

Answer: '37*q**4 + 259*q**3\n'


Question: 'Expand (3*m - m - m)*((-20 + 3 - 18)*(2*m - 2*m + m) + (0*m - 7*m + 2*m + (-2 + 3 - 3)*(5*m - m - 5*m))*(2 + 2 - 2)).\n'

Answer: '-41*m**2\n'


Question: 'Expand (-2 - 1 + 2)*(-g - 6*g - 13*g) + (-1 - 2 + 1)*(g + 2*g - 2*g) + 3 + g - 3 - g + g - 2*g + g + 0 + 0.\n'

Answer: '18*g\n'


Question: 'Expand (-2*g + 4*g + 0*g)*(-3 + 3 - 3) - 79 - 16*g + 79 + (3*g - g - g)*(-2 + 0 + 3) + 3*g + 3*g - 5*g.\n'

Answer: '-20*g\n'


Question: 'Expand (13*i**3 + 8*i**3 - 6*i**3)*(-2*i - 3*i - 2*i).\n'

Answer: '-105*i**4\n'


Question: 'Expand (-7*a - 232 + 232)*(-3 + 2 + 3)*(-2 + 7 - 3).\n'

Answer: '-28*a\n'


Question: 'Expand 2*a - 2*a + 2*a**2 + (-8 + 16 + 14)*(-2*a**2 + 0 + 0).\n'

Answer: '-42*a**2\n'


Question: 'Expand -1337*i**2 + 1337*i**2 - 31*i**5 + (3 - 3 - i**3)*(2 - 2*i**2 - 1 + 4*i**2).\n'

Answer: '-33*i**5 - i**3\n'


Question: 'Expand (-x - 1 + 1)*(-6 + 11 + 10 + 4*x).\n'

Answer: '-4*x**2 - 15*x\n'


Question: 'Expand (2*n**3 + n**3 - 2*n**3)*(-88 - 114 + 63) + 2*n**3 - 4*n**3 + n**3 + (2*n - 3*n + 0*n)*(5*n**2 - 2*n**2 - n**2) - 3*n**3 - 2*n**3 + 3*n**3.\n'

Answer: '-144*n**3\n'


Question: 'Expand (-s + s - 2*s**3)*(s + 4*s - s) + 181*s - 32*s**4 - 181*s.\n'

Answer: '-40*s**4\n'


Question: 'Expand 2*r**2 - r**2 + 287*r - 90*r + r**2 + 0*r**2 - 2*r**2 + (r**2 + r**2 + 0*r**2)*(3 - 3 + 2).\n'

Answer: '4*r**2 + 197*r\n'


Question: 'Expand -4 + 13 + 236*s - 227*s + 3 - 3 + 3*s + (-1 + 1 + 1)*(-4*s + 0*s + 3*s).\n'

Answer: '11*s + 9\n'


Question: 'Expand 3*c**2 + c**5 - 3*c**2 + (0 + 0 - 1)*(-5*c**5 + 4*c**5 + 13*c**5 + (0*c**2 + 3*c**2 - 2*c**2)*(c**3 + 3*c**3 - 8*c**3)).\n'

Answer: '-7*c**5\n'


Question: 'Expand ((-4*w**2 + 2*w**2 + 4*w**2)*(-1 + 2 + 0) + w**2 + 3*w**2 - 3*w**2 - w**2 + 3*w**2 + 0*w**2)*(w - 6*w - 23*w).\n'

Answer: '-140*w**3\n'


Question: 'Expand 0*g - 5*g + 4*g + (-3 + 3 + 2*g)*(-2 + 1 + 2) + (-3*g + 5 - 5)*(32 - 10 - 56).\n'

Answer: '103*g\n'


Question: 'Expand -14*a**4 + 4*a**4 + 2*a**3 + 11*a**4 - 3*a + 3*a**4 - 3 + 3 + (a**4 + 0*a**3 + 0*a**3)*(3 + 0 - 4).\n'

Answer: '3*a**4 + 2*a**3 - 3*a\n'


Question: 'Expand (-118181*j**2 + 118181*j**2 + 318*j**5)*(-1 - 1 + 1)*(0 - 2 + 3).\n'

Answer: '-318*j**5\n'


Question: 'Expand 2*v - 2*v**4 - 2*v + 7*v**4 + 5*v**4 - v**4 + (2 - 2 + 1)*(-1 + 1 - v**4).\n'

Answer: '8*v**4\n'


Question: 'Expand (m**2 + m - m)*(-2*m**3 - 2*m**3 - m**3) + 2*m**3 - 2*m**5 - 2*m**3 + (-41 + 41 - 3*m)*(2*m**4 - 4*m**4 + 0*m**4).\n'

Answer: '-m**5\n'


Question: 'Expand (3 - 6 + 2)*(-11*i + i - i) + (-1 + 1 - i + (-6*i + 4*i + 4*i)*(4 - 2 - 1))*(-1 + 2 + 4) + 0*i + i - 3*i.\n'

Answer: '14*i\n'


Question: 'Expand (0*f**3 + 2*f**3 - 3*f**3)*(-2 + 3 - 2) + (f**2 + 3 - 3)*(57 + 53 + 46*f - 111).\n'

Answer: '47*f**3 - f**2\n'


Question: 'Expand (2*w**4 + 3*w**2 - 3*w**2 + w**4 + 3*w**4 - 5*w**4 + (0*w + 0*w + 2*w)*(3*w**3 - 2*w**3 - 2*w**3))*(-26 + 73 - 23 + w).\n'

Answer: '-w**5 - 24*w**4\n'


Question: 'Expand (6*d + d - 4*d + (-2 + 3 - 2)*(d - 5*d + 2*d) - d + d + d)*(-d - 3*d + 3*d).\n'

Answer: '-6*d**2\n'


Question: 'Expand (32*j - 32*j - 5*j**2 + j - j + 2*j**2 + 4*j**2 - 6*j**2 + j**2 + (4*j - j - j)*(-2*j - j + j) - j + j - 2*j**2 - j + j - 2*j**2)*(0*j - j + 4*j).\n'

Answer: '-36*j**3\n'


Question: 'Expand (3*o + 2 + 0*o - 1)*(45*o + 889 - 889).\n'

Answer: '135*o**2 + 45*o\n'


Question: 'Expand (2*h**2 + 0*h**2 - 2 - 1)*(251*h**2 - 742*h + 742*h).\n'

Answer: '502*h**4 - 753*h**2\n'


Question: 'Expand (-4*z**3 + 2*z**3 + 4*z**3)*(0 + 0 + 1)*(-4 + 3 + 6)*(2 + 1 + 0)*(2 + 4 - 3).\n'

Answer: '90*z**3\n'


Question: 'Expand -3*r**5 + 0*r**5 + 4*r**5 + (-4*r**2 + 5*r**2 - 4*r**2)*(0*r**3 + 2*r**3 - r**3) + (-r + 7*r - 7*r)*(6*r - 2*r - 3*r)*(-r**3 - r**2 + r**2).\n'

Answer: '-r**5\n'


Question: 'Expand (-54*p + 99*p - 54*p)*(-2 - p + 7*p - 4*p).\n'

Answer: '-18*p**2 + 18*p\n'


Question: 'Expand 13 - 4 - n**2 - 4*n**2 + (-3*n**2 + 0*n**2 + n**2)*(4 - 1 - 2) + 4*n + 3*n**2 - 4*n.\n'

Answer: '-4*n**2 + 9\n'


Question: 'Expand (-4*s**3 + 3*s**3 - 2*s**3)*(-5 + 5 + 3*s) + (3 + 0 - 1)*(-16*s**3 + 16*s**3 - 9 + s**4).\n'

Answer: '-7*s**4 - 18\n'


Question: 'Expand -422 + 43*t**2 - 9*t**2 - 38*t**2 + t**2 - 3*t**2 + 0*t**2 - t**2 + 0*t**2 + 0*t**2 + (-t - 2*t + 5*t)*(2*t + t - t).\n'

Answer: '-3*t**2 - 422\n'


Question: 'Expand (3*i + 4*i - 5*i)*(26 - 33 - 27)*(-1 + 2 - 2)*(0*i**2 - i**2 + 2*i**2).\n'

Answer: '68*i**3\n'


Question: 'Expand (-4*k + 6*k + 0*k)*(-1 + 3 - 4)*((8*k**2 - 5*k**2 + 2*k**2)*(3*k - 3*k + k**2) + 220*k - 39*k**4 - 220*k).\n'

Answer: '136*k**5\n'


Question: 'Expand (-3 + 2 - 1)*(-2*d + 0*d - 5*d)*(-5 + 6 + 6).\n'

Answer: '98*d\n'


Question: 'Expand (2 - 2 + g)*(5 + 4 - 5)*(6*g**2 + 0*g**2 - g**2).\n'

Answer: '20*g**3\n'


Question: 'Expand (5*w**4 - 3*w**4 + 0*w**4)*(4 - 2 - 1) + (-180*w**2 + 264*w**2 - 204*w**2)*(0*w - w**2 + 0*w).\n'

Answer: '122*w**4\n'


Question: 'Expand 2*z**2 + 0*z**2 - z**2 + (-1 + 1 + 2)*(-2*z**2 + z**2 - z**2) - 5*z**2 - z + 5*z**2 - 4*z**2 + (3 - 3 + 2*z)*(-z - 4*z + 6*z).\n'

Answer: '-5*z**2 - z\n'


Question: 'Expand (-1 + 1 + 1)*(-2 - 1 + 1)*(-2 - 5*l + 9*l - 5*l).\n'

Answer: '2*l + 4\n'


Question: 'Expand (15 + 23 + 64)*(r - 3 + 3).\n'

Answer: '102*r\n'


Question: 'Expand (3 + 2 - 3)*(9*j**5 - 27*j**5 + 11*j**5) + 37*j - 37*j - j**5 + (-4*j**2 + j**2 + 2*j**2)*(-2*j**3 + 1 - 1).\n'

Answer: '-13*j**5\n'


Question: 'Expand ((3*w**2 - 6*w**2 - 2*w**2)*(5*w**3 - 6*w**3 + 4*w**3) + w**3 - w**3 + w**5 + w + 2*w**5 - w)*(0 - 4 + 10).\n'

Answer: '-72*w**5\n'


Question: 'Expand (5 + n**2 - 5 + (0*n + 0*n + n)*(-n - 2*n + 5*n))*(-14*n**3 - 71*n**3 + 10*n**3).\n'

Answer: '-225*n**5\n'


Question: 'Expand (0 + 0*f + 1 + 2*f)*(31 + 33 - 67).\n'

Answer: '-6*f - 3\n'


Question: 'Expand (4*j - 2*j + j - 5)*(-j - j + 0*j)*(-17 + 31 + 0).\n'

Answer: '-84*j**2 + 140*j\n'


Question: 'Expand (-5*a**3 + 2*a**3 + a**3 + (-a**3 - a**3 + 4*a**3)*(-4 + 1 - 3))*(-5*a + a + 2*a)*(-a + 4*a + 2*a).\n'

Answer: '140*a**5\n'


Question: 'Expand 0*k + 0*k + 3*k**3 + (3*k**2 - 8*k**2 + 11*k**2 + (-4*k - 2*k + 4*k)*(k - 2*k - k) - 4 + 4 + 2*k**2)*(2*k - k - 2*k).\n'

Answer: '-9*k**3\n'


Question: 'Expand (2*k - k - 3 - 2*k)*(0 + 2*k + 1 + 3 + (0*k - 2*k - k)*(-2 + 2 - 2) - 4*k + 3*k - k).\n'

Answer: '-6*k**2 - 22*k - 12\n'


Question: 'Expand (-3 + 6 - 5)*(4 - 3 + 1)*(-81*d - 108*d + 241*d).\n'

Answer: '-208*d\n'


Question: 'Expand (142*q - 240*q - 68*q - 369*q)*(4*q - 2*q - q).\n'

Answer: '-535*q**2\n'


Question: 'Expand b**5 + 12*b**4 - 452 + 452 + (0*b**4 + 0*b**4 + 2*b**4)*(3*b - 3*b + 2*b).\n'

Answer: '5*b**5 + 12*b**4\n'


Question: 'Expand (-16*r + 5*r - 5*r)*(53*r - 52*r - 4*r**3 - 9*r**3).\n'

Answer: '208*r**4 - 16*r**2\n'


Question: 'Expand (-270*j + 133*j + 25 + 136*j)*(0 + 0 - j**2).\n'

Answer: 'j**3 - 25*j**2\n'


Question: 'Expand (3*r - 3*r + 2*r**2)*((25*r**2 + 52*r**2 + 22*r**2)*(4*r - 2*r + r) + 3*r**3 + 2*r**2 - 2*r**2).\n'

Answer: '600*r**5\n'


Question: 'Expand (-3*f**2 + f**3 + 3*f**2)*(2*f - 3*f - 5*f) + 2*f**4 + 7*f**4 - 4*f**4.\n'

Answer: '-f**4\n'


Question: 'Expand 3*m**2 + 2*m**2 - 2*m**2 + (-m - 2*m + 2*m)*(3*m + 0*m - m) + 0 + 0 - 2*m**2 + (2*m**2 - 5*m**2 + m**2)*(-4 + 0 + 1).\n'

Answer: '5*m**2\n'


Question: 'Expand (1 + 2 + 1)*(32 + 32*n - 32)*(n - n + n).\n'

Answer: '128*n**2\n'


Question: 'Expand 3*i**5 + 0*i**5 - 2*i**5 + (-3*i**2 - 3*i**2 + 2*i**2)*(2*i**3 - i**3 - 3*i**3) + (-2*i**3 + i**3 + 2*i**3)*(16*i**2 - 25*i**2 + 25*i**2).\n'

Answer: '25*i**5\n'


Question: 'Expand 231*u**5 + 136*u**5 + 110*u**5 + 532*u**5 - 5*u**5 - 2*u**5 + 6*u**5 + (-5*u**3 + u**3 + 3*u**3)*(-u**2 + 0*u**2 + 3*u**2) - 3 + 3 + 2*u**5.\n'

Answer: '1008*u**5\n'


Question: 'Expand (264 - 264 + 88*y)*(3*y - 2*y - 5*y) - 2*y**2 + 2*y**2 - 2*y**2.\n'

Answer: '-354*y**2\n'


Question: 'Expand 2*s + 4*s - 4*s + (2 - 2 + 1)*(39*s + 27*s + 25*s) - 2*s - 7*s + 17*s.\n'

Answer: '101*s\n'


Question: 'Expand (9 - 43 - 161*l + 2634*l + 34)*(2*l**4 + 2*l**4 - 2*l**4).\n'

Answer: '4946*l**5\n'


Question: 'Expand (q**3 - 4*q**3 + q**3)*(-2 + 3*q + 5*q**2 - 3*q).\n'

Answer: '-10*q**5 + 4*q**3\n'


Question: 'Expand (-r**3 + 2*r**3 - 2*r**3)*(21 - 29*r + 27*r - 1).\n'

Answer: '2*r**4 - 20*r**3\n'


Question: 'Expand 2*u**2 - 4 + 4 + (3*u**2 - 2*u**2 + 0*u**2)*(-2 + 0 + 3) - 1 + 1 + 2*u**2 + 7*u - 4651*u**2 - 3*u - 4*u + 1517*u**2.\n'

Answer: '-3129*u**2\n'


Question: 'Expand (2 - 2 - d)*(1 - 1 - 6) + ((2*d + 0*d - d)*(0 - 2 + 4) + d - 13*d + 0*d)*(0 - 1 + 0).\n'

Answer: '16*d\n'


Question: 'Expand (-7*q**3 + 9 - 9)*(0 - 4 + 5)*(-3 - 2 + 3).\n'

Answer: '14*q**3\n'


Question: 'Expand (-2*j**3 + 4*j**3 + 0*j**3)*(2*j + j - 5*j) + (-j**2 + 2*j**2 - 3*j**2)*(-j**2 - 5*j**2 + j**2) + 0*j**4 - 2*j**4 + 0*j**4.\n'

Answer: '4*j**4\n'


Question: 'Expand 41655 - 465*h**2 - 41655 + (-h - 4*h + 4*h)*(-h + h - 2*h) + h**2 + 4*h - 4*h.\n'

Answer: '-462*h**2\n'


Question: 'Expand (4 - 5 + 8)*(2*b**4 + b**4 - 4*b**4)*(-2*b + 4*b + 4*b).\n'

Answer: '-42*b**5\n'


Question: 'Expand (-3*i**3 + 8 - 11 - 4*i**2 + 3*i**2)*(7*i**2 + 2*i - 2*i).\n'

Answer: '-21*i**5 - 7*i**4 - 21*i**2\n'


Question: 'Expand (-3 + 3 - 2*x**2)*(-186*x**3 - 5213 + 5213).\n'

Answer: '372*x**5\n'


Question: 'Expand (11 - 9 - 6)*(2*n - 3 + 3)*(12 - 12 + 13*n).\n'

Answer: '-104*n**2\n'


Question: 'Expand (-1571*s**2 + 255 - 121 - 134)*(s**2 - 5*s**2 + 3*s**2).\n'

Answer: '1571*s**4\n'


Question: 'Expand (3 - 5 + 1)*(-63 + 74 + 80)*(-2*j - 4 + 4).\n'

Answer: '182*j\n'


Question: 'Expand (3*q + 0*q - q + (0*q - q + 3*q)*(0 + 3 - 1))*(-6*q**4 - 6*q**4 + 6*q**4).\n'

Answer: '-36*q**5\n'


Question: 'Expand (-4*p**2 + 2*p - 2*p)*(p**3 + p**3 - 3*p**3) + p**5 + 2*p**5 - 6*p**5 - 7*p**5 - 131*p**3 + 131*p**3.\n'

Answer: '-6*p**5\n'


Question: 'Expand (-1 + 1 + c)*(-4 - 6 + 3)*(28*c**2 + 5*c**3 - 28*c**2).\n'

Answer: '-35*c**4\n'


Question: 'Expand (-88879 + 569*i + 88879)*(0 + 6 - 2 - 5)*(-2*i + 3*i + 2*i).\n'

Answer: '-1707*i**2\n'


Question: 'Expand (-2 + 2 - 2*w**3)*(-11*w - 4*w + 4*w) + 2*w**4 - 2*w**4 + 4*w**4.\n'

Answer: '26*w**4\n'


Question: 'Expand (2*z**3 - z**3 - 3*z**3)*(-z**2 + z - z) + 47*z**4 + 44*z**4 - 20*z**5 + 22*z**5 + 4*z**5 - 7 + 7.\n'

Answer: '8*z**5 + 91*z**4\n'


Question: 'Expand (-4*n**2 + 2*n**2 + 0*n**2)*(-3 + 3 - 2*n) + (-3*n + 3*n**3 + 3*n)*(3 - 1 + 3).\n'

Answer: '19*n**3\n'


Question: 'Expand (-3*q**2 + 3*q**2 + 3*q**2)*(6*q - 3*q - 2*q) + (0*q - q + 0*q)*(-6*q**2 + 0*q**2 + 2*q**2)*(-3 - 5 + 4).\n'

Answer: '-13*q**3\n'


Question: 'Expand (30 - 16 + 14)*(-2*b**2 - 3*b**2 + 2*b**2) - 2*b + 0*b**2 + b - 2*b**2.\n'

Answer: '-86*b**2 - b\n'


Question: 'Expand (-2*f + 3*f - 4*f)*(-10 + 6 - 20)*(2 + 1 - 5) + 1 - 1 + 2*f + (2 + 0 - 3)*(-4*f + 0*f + 2*f).\n'

Answer: '-140*f\n'


Question: 'Expand (-17 + 17 - 5*p)*(-11*p - 9*p**2 + 11*p) - 2*p**3 + 3*p**3 + p**3.\n'

Answer: '47*p**3\n'


Question: 'Expand (11*n**2 - 3*n**2 + 5*n**2)*(2*n**2 + 3 - 3) + (-2 + 2*n + 2)*(n**3 + 6*n - 6*n) + 3*n**4 + 0*n**4 - 2*n**4 - n**4 + 2*n - 2*n.\n'

Answer: '28*n**4\n'


Question: 'Expand 0*x**2 - 3*x**2 - 2 + x**2 + (-5 + 5 + 6*x)*(4*x + 0 + 0).\n'

Answer: '22*x**2 - 2\n'


Question: 'Expand -5*z**2 - z**2 + 4*z**2 + z**4 + (5*z**3 - 17*z**4 - 5*z**3)*(-10 - 15 + 2).\n'

Answer: '392*z**4 - 2*z**2\n'


Question: 'Expand (-1 + 3 - 4)*((-5 + 5 + 2*w)*(-2*w - w + w) + 8*w**2 + 7*w**2 + 5*w**2).\n'

Answer: '-32*w**2\n'


Question: 'Expand -2*i**3 + 2*i**2 - 2*i**2 + (-3*i**2 + 3*i**3 + 3*i**2)*(-2 + 0 + 3) - 7*i**3 + 2*i**2 - 3*i**3 + i**3.\n'

Answer: '-8*i**3 + 2*i**2\n'


Question: 'Expand 5*q - 7*q + 0*q**3 - 3*q**3 + 0*q**3 - 2*q**3 + 3*q**3 + (3*q**2 - 5*q**2 + 5*q**2)*(-2*q - 2*q + 3*q).\n'

Answer: '-5*q**3 - 2*q\n'


Question: 'Expand (-3 + 0 + 4)*(0*c - 3*c + c + 3*c - c - 4*c + (-5 + 2 + 4)*(c - c - 2*c) + c - 3*c + 3*c - 1 + 1 + c + 5*c + c + 0*c).\n'

Answer: '2*c\n'


Question: 'Expand (4*z + z - 2*z)*(-137 + 1503*z - 1501*z - 13).\n'

Answer: '6*z**2 - 450*z\n'


Question: 'Expand (139 - 22 + 21)*(3*i + 3*i - 4*i + (-4*i + 3*i + 0*i)*(0 + 3 - 4) - 2*i + 2*i + i - i + 0*i - i).\n'

Answer: '276*i\n'


Question: 'Expand (197 + 56 - 101)*(-7*x + x + 4*x + x - x + 2*x - 3 + 2*x + 3 - 2*x + 2*x + 2*x + (0 + x + 0)*(2 - 2 - 1)).\n'

Answer: '456*x\n'


Question: 'Expand 5*q**2 + 0*q**2 - q**2 + (q - 2*q**2 - q)*(1 - 3 + 1).\n'

Answer: '6*q**2\n'


Question: 'Expand (-3 + 11 - 2)*(-10*a**2 - 5*a**2 - 13*a**2).\n'

Answer: '-168*a**2\n'


Question: 'Expand -5*l + 5 + 2*l - 2 + (1 - 4 + 4)*(6*l - 3*l + l).\n'

Answer: 'l + 3\n'


Question: 'Expand (-1 + 2 + 2)*(118*j - 11*j + 44*j)*(2*j**4 + 0*j**4 + 0*j**4).\n'

Answer: '906*j**5\n'


Question: 'Expand (a**2 - a + a)*(-2*a**2 - 2*a**2 + 3*a**2) + 3*a**4 + a**4 - 2*a**4 + 12*a**3 - 550*a**2 + 550*a**2 + 3*a**4.\n'

Answer: '4*a**4 + 12*a**3\n'


Question: 'Expand (2*p - 3 + 0*p + 0)*(4 + 2 - 5)*(-14 - 11 - 8).\n'

Answer: '-66*p + 99\n'


Question: 'Expand (2*d**2 + 0*d**2 + 0*d**2)*(5 - 5 + d) - 2*d**3 + 2*d**3 + d**3 - 4*d**3 - d**3 + d**3.\n'

Answer: '-d**3\n'


Question: 'Expand (3 - 3 + 2*k**2)*(3 + 0 - 2) - 18*k**2 + 6*k - 6*k.\n'

Answer: '-16*k**2\n'


Question: 'Expand -d + 3 - 2 - 4 + (1 - 3*d - 1)*((-3 + 3 + 2)*(-2 + 3 + 4) + 3 + 3 - 1).\n'

Answer: '-46*d - 3\n'


Question: 'Expand (7*q - 2*q - 2*q)*(-3 + 0 + 2)*(5*q + 4*q - 5*q).\n'

Answer: '-12*q**2\n'


Question: 'Expand (2*y**2 + 2*y**2 - 3*y**2)*(-y + y - y)*(-51 + 183 + 68).\n'

Answer: '-200*y**3\n'


Question: 'Expand (-4*o**3 + 4*o**3 + 2*o**3)*(-o**2 - 597 + 40*o + 597).\n'

Answer: '-2*o**5 + 80*o**4\n'


Question: 'Expand -7*a - 3 + 3 + (2 - 1 - 3)*(-4 - a + 4)*(-2 + 14 - 7).\n'

Answer: '3*a\n'


Question: 'Expand -2*a**4 + 4*a**2 + 3*a**2 - 4*a**2 + (18 - 15 - 46)*(-3*a**4 + 3*a**4 - 2*a**4).\n'

Answer: '84*a**4 + 3*a**2\n'


Question: 'Expand (9*n**2 + 7*n**2 - 4*n**2)*(19*n**2 - 18*n**2 + 18*n**2).\n'

Answer: '228*n**4\n'


Question: 'Expand (-2 - 1 + 4 - 2 + 4 + 0 - 1 - 2 + 1 + (3 - 4 + 3)*(-1 + 5 - 3))*(-168*t + 336*t + 19 - 169*t)*(2 - 3 + 3).\n'

Answer: '-6*t + 114\n'


Question: 'Expand 4*b - 5*b + 3*b + (3 - 3 + 2*b)*(4 - 1 + 1) + (7*b + 4*b - 3*b)*(0 + 2 - 3).\n'

Answer: '2*b\n'


Question: 'Expand (-8*s**2 - 2*s**2 + 13*s**2)*(2*s + 0*s - s)*(-s**2 - 2*s**2 + 5*s**2).\n'

Answer: '6*s**5\n'


Question: 'Expand b**2 + 5*b**2 + 0*b**2 + (-b + 1 - 1)*(2 - 2 - b) + (4*b - 2*b + 0*b)*(2*b + 0*b + 3*b).\n'

Answer: '17*b**2\n'


Question: 'Expand (-h - 2*h + 5*h)*(h - 19 + 19) + 14*h**2 + 9*h**2 - 42*h**2 - h**2 + 6*h**2 - 4*h**2.\n'

Answer: '-16*h**2\n'


Question: 'Expand 65402*j - 2*j**4 - 65402*j + 41*j**2 + (0*j**2 - 3*j**2 + 5*j**2)*(-2*j**2 + 2*j**2 + 2*j**2) + 2*j**4 + j**4 + 0*j**4.\n'

Answer: '5*j**4 + 41*j**2\n'


Question: 'Expand (-v + v - v)*(-67 - v**2 + 67)*(-29 + 24 + 8).\n'

Answer: '3*v**3\n'


Question: 'Expand (4*l**2 - l**2 - 4*l**2 + 3*l**2 + l**2 - 5*l**2 + (2*l + 0 + 0)*(-2*l + 3 - 3) + (-2*l + 5*l - 5*l)*(2 + l - 2))*(-l + l + l)*(-18 - 35 - 1).\n'

Answer: '432*l**3\n'


Question: 'Expand q**2 - 1 + 1 + (18 - 10 + 0)*(3*q - 3*q - 3*q**2).\n'

Answer: '-23*q**2\n'


Question: 'Expand (-4*h + 5*h + h)*(-3 - 1 - 1) + 49 - 58*h - 49.\n'

Answer: '-68*h\n'


Question: 'Expand (-2*j + j - j)*(2*j**2 - 2*j**2 - 5*j**2) - 2*j + 2*j - j**3 + j**2 - j**3 + 10*j**3 - j**3.\n'

Answer: '17*j**3 + j**2\n'


Question: 'Expand (-4 + 4 + 2*j)*(-4 + 7 + 4)*(-19 - 2 + 3)*(-1 + 0 + 0).\n'

Answer: '252*j\n'


Question: 'Expand (16*k + 3 - 1 + 0)*(-3 - 1 + 6)*(16 - 10 + 6).\n'

Answer: '384*k + 48\n'


Question: 'Expand (1 - 3*m - 1)*(0 + 3*m + 0 + 2*m + 6*m - 3*m + (1 - 1 - 1)*(m - m + m) + m + m - 3*m + 3*m - m - m - 12*m + 9*m + 40*m).\n'

Answer: '-132*m**2\n'


Question: 'Expand (65*b - 158*b - 71*b)*(-4*b**4 + 4*b**4 - 3*b**4).\n'

Answer: '492*b**5\n'


Question: 'Expand -2*h**5 + 2*h**5 + h**5 + (-5*h**3 + 2*h**3 - 8*h**2 + 9*h**2)*(h + h - 3*h)*(-47*h + 57*h + 34*h).\n'

Answer: '133*h**5 - 44*h**4\n'


Question: 'Expand -8*n**2 + 11 - 11 + (2 + 1 - 4)*(-6*n**2 + n**2 - 4*n**2).\n'

Answer: 'n**2\n'


Question: 'Expand (3*l**2 + 2*l**2 + 8*l**2)*(4 - 1 + 10).\n'

Answer: '169*l**2\n'


Question: 'Expand (-71*d**3 - 94*d**3 + 9*d**3)*(0*d + d + d)*((3 - 3 + 2)*(-2 - 2 + 3) + 2 - 4 + 1).\n'

Answer: '936*d**4\n'


Question: 'Expand 2*c**2 - c + 2*c - 25*c**3 + 24*c**3 + (3*c**3 - 2*c**3 - 2*c**3)*(1 - 2 + 4).\n'

Answer: '-4*c**3 + 2*c**2 + c\n'


Question: 'Expand (h**3 + 5*h**3 - 4*h**3)*(-1 + 1 - 2)*(2 + 2*h - 2)*(-1 + 11 + 0)*(3*h - 3*h + h).\n'

Answer: '-80*h**5\n'


Question: 'Expand 0*x**2 + x**2 + 0*x**2 + 2*x**2 + 2*x - 4 + 4 + (-69*x**2 - 3*x**2 - 42*x**2)*(0 + 3 - 1) + (1 + 2 - 1)*(5*x**2 - 3*x**2 - 4*x**2).\n'

Answer: '-229*x**2 + 2*x\n'


Question: 'Expand (3 - 11 + 6)*(3*i + 3*i - 5*i + (2 + 2 - 2)*(-1 + 1 + i) + 2*i - i - 2*i - 3 + 3 + 2*i - 2*i + 0*i + 4*i + 15 - 19*i - 15).\n'

Answer: '26*i\n'


Question: 'Expand 134 - 134 + 27*z - 4*z - 2*z - 3*z + (-3*z + 4*z + 0*z)*(-4 + 3 + 3).\n'

Answer: '20*z\n'


Question: 'Expand 1 + 2*s - 1 + (-5*s + 1 - 1)*(7 - 2 - 2 + (-2 - 2 + 5)*(0 - 3 + 4)).\n'

Answer: '-18*s\n'


Question: 'Expand (2*w - 2 + 2)*(4 - 4 - 1) + 0*w + 3*w + 0*w - 10*w - 55*w + 10*w - w + w + 2*w + w - 2 + 2 + (2*w - 4 + 4)*(3 - 3 - 2) + 4*w - w - 5*w + 2*w - 2 + 2.\n'

Answer: '-55*w\n'


Question: 'Expand (-10*k - 24*k + 69*k)*(8 - 14 + k**4 + 8).\n'

Answer: '35*k**5 + 70*k\n'


Question: 'Expand (0*n**2 + 0*n**2 + 2*n**2)*(n - 4*n + 5*n) + 3*n**3 - 3*n**3 + 2*n**3 + n**3 + 2*n**3 - n**3 + 4*n**3 - 2*n**3 + 6*n**3 - 4*n + 4*n - n**3.\n'

Answer: '15*n**3\n'


Question: 'Expand (3*r**2 - 3*r**2 + 3*r**2)*((-3*r + 2*r - r)*(5 - 3 + 0) - r + 0*r + 0*r + (r - 6*r + 3*r)*(-1 - 2 + 1)).\n'

Answer: '-3*r**3\n'


Question: 'Expand (-q**2 - q**2 + 0*q**3 + 59*q**3 + 2*q**2)*(-6*q + 4*q + 4*q).\n'

Answer: '118*q**4\n'


Question: 'Expand (-18 + 18 + 6*f)*(2*f - 1 + 1) - f**2 - f**2 - 3*f**2 - 2*f**2 + f**2 + 0*f**2 + (1 - f - 1)*(-4*f + 5*f + 0*f).\n'

Answer: '5*f**2\n'


Question: 'Expand (-c**2 - 4*c + 4*c + (c - c - c)*(0 - 2*c + 0))*(2 + 2 - 5)*(4 + 4 - 5).\n'

Answer: '-3*c**2\n'


Question: 'Expand (8*c + 7*c - 26*c - c - 2*c + 4*c - 5*c + 3*c + 0*c + 2 - 2 + c + c - 1 + 1 + 4 - 4 - c + (2*c - 3 + 3)*(-2 + 0 + 4) - c + 2 - 2)*(0 - 2 + 4).\n'

Answer: '-16*c\n'


Question: 'Expand (0*r - r + 2*r)*(-3*r**2 + 3*r**2 + 2*r**2) - 3*r**3 - r**3 + 5*r**3 + 5*r**3 + 1 + 101*r**3 - 3.\n'

Answer: '109*r**3 - 2\n'


Question: 'Simplify (q**(-12))**(-1/15)/(q**(4/9)*q*q*q**(-3)) assuming q is positive.\n'

Answer: 'q**(61/45)\n'


Question: 'Simplify (((s/(s**9*s)*s)/s)**(-4/3))**(-50) assuming s is positive.\n'

Answer: 's**(-600)\n'


Question: 'Simplify (r**12/(r**(-4/17)*r))**(-1/9) assuming r is positive.\n'

Answer: 'r**(-191/153)\n'


Question: 'Simplify ((((d*d/(d*d**11*d))/d)/d*d**(-8))**(-44))**(2/89) assuming d is positive.\n'

Answer: 'd**(1848/89)\n'


Question: 'Simplify ((b**(2/5)/(b**11*b))**(1/12))**(14/9) assuming b is positive.\n'

Answer: 'b**(-203/135)\n'


Question: 'Simplify (t*t*(t**(2/5)*t)/t*t**(2/5))/(t**(-7))**48 assuming t is positive.\n'

Answer: 't**(1694/5)\n'


Question: 'Simplify (r/(r/(r*r*r*(r/r**(-1/2))/r))*r)**(-1/18)/(r**10*r*r*r**0) assuming r is positive.\n'

Answer: 'r**(-49/4)\n'


Question: 'Simplify (t*t/(t**(-3/8)*t*t))**(1/3)/(t**16)**(-9) assuming t is positive.\n'

Answer: 't**(1153/8)\n'


Question: 'Simplify (j/j**9*j*j*j*j**(-4/7)*j/(j*j**(-4/3)*j)*j**(-2/37))**(-2/9) assuming j is positive.\n'

Answer: 'j**(8224/6993)\n'


Question: 'Simplify (w**(1/6)/w)**(-16)*w**(-2/15)/(w**(-11/4)*w) assuming w is positive.\n'

Answer: 'w**(299/20)\n'


Question: 'Simplify ((q*q**(-14))/(q/q**(-1/11)))/(q**(-3/8)/(q**(-9)/q)) assuming q is positive.\n'

Answer: 'q**(-2087/88)\n'


Question: 'Simplify ((i*i**(2/59))/(i*i*i/(i**(-5)/i)))/(i*i*(i**(1/3)*i)/i)**(-2/77) assuming i is positive.\n'

Answer: 'i**(-15392/1947)\n'


Question: 'Simplify ((o**(1/11)*o**(4/5))**22)**15 assuming o is positive.\n'

Answer: 'o**294\n'


Question: 'Simplify h/(h**(-2/55)/h*h*h)*h*h**(-4)*h**(5/2)/(h*h*h**(1/5)) assuming h is positive.\n'

Answer: 'h**(-293/110)\n'


Question: 'Simplify d*(d/((((d**2/d)/d)/d)/d))/d*d**7*d*d**(-9)/d*d*d**(-2/3)*d assuming d is positive.\n'

Answer: 'd**(7/3)\n'


Question: 'Simplify (j/j**(-6))**27*(j/j**(-10))/j**(1/2) assuming j is positive.\n'

Answer: 'j**(399/2)\n'


Question: 'Simplify ((((h*h**2/h)/h)/((h/(h/(h*h*(h*h/(h**4*h)*h)/h*h))*h)/h))/(h**(-1)/(h*h/(h/(h/(h/h**(2/7)))))))**(-1/11) assuming h is positive.\n'

Answer: 'h**(-23/77)\n'


Question: 'Simplify c**(-5)*c*c*c*c**(9/2)/c*(c**3)**(3/19) assuming c is positive.\n'

Answer: 'c**(75/38)\n'


Question: 'Simplify (c*c*c*c/((c*c/(c/(c/c**8*c)))/c)*c*c*c)/(c**(-1/8)/c)*(c*c**(-7/6))/(c*c*c**15*c) assuming c is positive.\n'

Answer: 'c**(-97/24)\n'


Question: 'Simplify ((o**(-1)*o**(3/8)/o)**(-2/103))**(-5/3) assuming o is positive.\n'

Answer: 'o**(-65/1236)\n'


Question: 'Simplify ((z/(z*z**2))/z)**11/(z**(-16)/z*z**20) assuming z is positive.\n'

Answer: 'z**(-36)\n'


Question: 'Simplify (g**5*g)/g*g**(-2/15)*(g/(g/(((g/(g/(g/g**(-1/7))))/g*g*g)/g)))**46 assuming g is positive.\n'

Answer: 'g**(6031/105)\n'


Question: 'Simplify ((j**25/j)/j*j**(5/2))**(-38) assuming j is positive.\n'

Answer: 'j**(-969)\n'


Question: 'Simplify (r**(4/5)/r)**(37/2)*r*r/r**(-3/23)*r/(r**(-7)/r)*r assuming r is positive.\n'

Answer: 'r**(1939/230)\n'


Question: 'Simplify ((z*z/(z*z**(-6)*z*z*z))/z*z)/(z*z**(3/2))*(z**(-1/2))**7 assuming z is positive.\n'

Answer: 'z**(-2)\n'


Question: 'Simplify r**8*r*r**(-6)*r**(-8)/r**12 assuming r is positive.\n'

Answer: 'r**(-17)\n'


Question: 'Simplify ((o*o*o*o/(o/(o**(-1/9)/o)*o*o))/o**(-9)*(o/(o/o**1))**(-22))**(-4/7) assuming o is positive.\n'

Answer: 'o**(472/63)\n'


Question: 'Simplify d**9/(d**(2/5)*d)*d**14/(d/(d**(6/7)/d)) assuming d is positive.\n'

Answer: 'd**(716/35)\n'


Question: 'Simplify ((i**(-1/4)/i)**(-16)*i**2/i**(-1/4))**(11/7) assuming i is positive.\n'

Answer: 'i**(979/28)\n'


Question: 'Simplify (j**(-17)*j)/j**(-2/49)*j/((j*j**5/j)/j)*j**(1/7)/j assuming j is positive.\n'

Answer: 'j**(-971/49)\n'


Question: 'Simplify ((r**14)**(-3/10))**(-2/5) assuming r is positive.\n'

Answer: 'r**(42/25)\n'


Question: 'Simplify (p**(4/11)*p*p**13)/(p**(7/5))**(-1/26) assuming p is positive.\n'

Answer: 'p**(20617/1430)\n'


Question: 'Simplify (b/(b*b*b**(6/7)))/b**24*((b**(3/11)/b)/b)/b*b/b**4 assuming b is positive.\n'

Answer: 'b**(-2432/77)\n'


Question: 'Simplify ((m/(m*m**(-6/13))*m*m)/m*m/((m*m*m**8*m)/m))/((m**(1/22)/m)/m*m**24) assuming m is positive.\n'

Answer: 'm**(-8461/286)\n'


Question: 'Simplify ((q**(1/3))**(7/4)*q**(-6)*q**(1/2))**(1/34) assuming q is positive.\n'

Answer: 'q**(-59/408)\n'


Question: 'Simplify (w**31)**(-1/7)*w*w/(w*w/((w**(-23)/w)/w))*w*w**11 assuming w is positive.\n'

Answer: 'w**(-122/7)\n'


Question: 'Simplify ((x/(x/x**(-1)))**(-9)/(x**(-4)*x**(-7)))**(-20/3) assuming x is positive.\n'

Answer: 'x**(-400/3)\n'


Question: 'Simplify (j**(-3/5)/((j/((j*j**6*j*j*j)/j))/j)*(j/((j**(2/5)*j)/j))/j*j**0*j)**(-3/19) assuming j is positive.\n'

Answer: 'j**(-27/19)\n'


Question: 'Simplify ((f/(f*f*f**(1/28)))/(f**(-20)*f*f))/(f**(-1/19)*f**(-12)) assuming f is positive.\n'

Answer: 'f**(15437/532)\n'


Question: 'Simplify ((o/(o*o**3))/(o/(o/o**(-10))))/((o/(o*o/(o*o**(-10)/o)))/(o**11*o)) assuming o is positive.\n'

Answer: 'o**30\n'


Question: 'Simplify (u*u**6)/u**3*u**(-2/3)*u*u**10/u*u*u assuming u is positive.\n'

Answer: 'u**(46/3)\n'


Question: 'Simplify (m*m/m**(-10)*m)/m*m*m*m**(9/2)*(m/(m*m/m**(3/11)*m))/m**(-2/11) assuming m is positive.\n'

Answer: 'm**(373/22)\n'


Question: 'Simplify (k/(k*k**2/k))**(-12/7)*k**(-9)*k*k*k**6*k assuming k is positive.\n'

Answer: 'k**(12/7)\n'


Question: 'Simplify ((f/f**(5/2))/f)**4*(f*f**(-3/5))**(1/25) assuming f is positive.\n'

Answer: 'f**(-1248/125)\n'


Question: 'Simplify (((h/((h/(h*h**(-13/2)))/h))/h)/h)**19*h/((h/h**(-3/16))/h*h)*(h*h**(2/53)/h*h)/h assuming h is positive.\n'

Answer: 'h**(-104855/848)\n'


Question: 'Simplify p**(-24)*p**(-6/5)*(p/(p/((p**(6/7)*p)/p)))**(3/13) assuming p is positive.\n'

Answer: 'p**(-11376/455)\n'


Question: 'Simplify ((q**6*q*q)/q*q)/((q/q**13)/q)*(q/(q*q**6*q))/q**2 assuming q is positive.\n'

Answer: 'q**12\n'


Question: 'Simplify ((a/a**0)**50/((a**(3/8)/a)/(a*a**0)))**17 assuming a is positive.\n'

Answer: 'a**(7021/8)\n'


Question: 'Simplify ((s**(2/25)/s)/s*s**6)**37 assuming s is positive.\n'

Answer: 's**(3774/25)\n'


Question: 'Simplify ((r**7*r*r/(r*r**(-4)*r)*r)/((r/(r**(-1)*r*r))/r**(-6)))**12 assuming r is positive.\n'

Answer: 'r**72\n'


Question: 'Simplify b**(-2/29)/(b/(b*(b**(1/10)*b*b)/b))*(b/((b**(-9/5)/b*b)/b*b))**(-40) assuming b is positive.\n'

Answer: 'b**(-32181/290)\n'


Question: 'Simplify (t/t**(4/5))/t**(-10)*t**(-3/2)*t**(2/13)*t assuming t is positive.\n'

Answer: 't**(1281/130)\n'


Question: 'Simplify ((f**(-1/3)*f)/f)/f*f**(-2/91)*f*(f*f**(-16))**(-6/13) assuming f is positive.\n'

Answer: 'f**(1793/273)\n'


Question: 'Simplify (((s**(1/2))**(-2/33))**(-5))**(-2/11) assuming s is positive.\n'

Answer: 's**(-10/363)\n'


Question: 'Simplify ((d/(d**(-8)*d))/(d*d**(3/10)))/((d/d**(-6/13))/d*d*d*d*d**(-7/4)) assuming d is positive.\n'

Answer: 'd**(1297/260)\n'


Question: 'Simplify c/(c*c*(c*(c*c**(2/23))/c)/c)*c**(13/3)*c**(-10/13)/c*(c**(-1)/c)/c assuming c is positive.\n'

Answer: 'c**(-1366/897)\n'


Question: 'Simplify (t**(-1/15)*t*t)**8/(t**(1/13))**(-23) assuming t is positive.\n'

Answer: 't**(3361/195)\n'


Question: 'Simplify (a/(a*a**(20/7))*a)/a**(-1/3)*a**(-21)*a**(-4/19)/a*a assuming a is positive.\n'

Answer: 'a**(-9071/399)\n'


Question: 'Simplify ((l/((l*l/(l*l**(-2/35)))/l))/l*l**15)/(l/l**(-1)*(l/(l**(-5)/l))/l) assuming l is positive.\n'

Answer: 'l**(243/35)\n'


Question: 'Simplify (s**20*s)/s**(-20)*s/(s**(2/9)*s)*s**(1/17) assuming s is positive.\n'

Answer: 's**(6248/153)\n'


Question: 'Simplify x/x**(-11)*x**(-8/5)*x*(x/((x/x**5*x)/x))/(x/x**(-5)) assuming x is positive.\n'

Answer: 'x**(52/5)\n'


Question: 'Simplify d**16*d/d**14*d/(d**(-7)/d)*(d*((d/d**(-11))/d*d)/d)/d assuming d is positive.\n'

Answer: 'd**23\n'


Question: 'Simplify (y/(y/(y/(((y/((y**(-4)*y)/y))/y)/y)*y))*y)**(-33)/(y**(-8)*y/(y/(y/(y**11/y))*y)) assuming y is positive.\n'

Answer: 'y**18\n'


Question: 'Simplify (r**(-5/9)/(r*r**0*r))**(-12) assuming r is positive.\n'

Answer: 'r**(92/3)\n'


Question: 'Simplify (q*q**(-1/9)*q*q/q**(-6/11)*q)/(q*q**(-6)*q*q/(q/(q**(-2/19)/q))*q) assuming q is positive.\n'

Answer: 'q**(16063/1881)\n'


Question: 'Simplify w**23*w*(w**(-4/23)/w)/w*(w*w**(-13))/w*w*w*w*w/(w/w**(-23)) assuming w is positive.\n'

Answer: 'w**(-257/23)\n'


Question: 'Simplify ((((l**(-5)*l)/l)/l*l**(-2))**(-42/11))**21 assuming l is positive.\n'

Answer: 'l**(7056/11)\n'


Question: 'Simplify ((i*i/i**3*i*(i/((i/(i*(i**(-2/15)/i)/i))/i*i))/i)/(i*i*i*i**9*i/(i/(i**(-3)/i))))**46 assuming i is positive.\n'

Answer: 'i**(-6992/15)\n'


Question: 'Simplify ((b*b/b**(-7))/((b**7*b)/b*b)*((b/((b*(b/(b/(b/(b**10*b))))/b)/b))/b)/b*b**(-1/8))**32 assuming b is positive.\n'

Answer: 'b**348\n'


Question: 'Simplify ((n**(-3/31)/n)/(n*n**(-2/81)*n))**41 assuming n is positive.\n'

Answer: 'n**(-316274/2511)\n'


Question: 'Simplify (l**3)**22*l**10*l**(5/2) assuming l is positive.\n'

Answer: 'l**(157/2)\n'


Question: 'Simplify (s**7*s*s*s*s*s**(3/5)*s*s*s*s*(s**1)**40)**(2/9) assuming s is positive.\n'

Answer: 's**(556/45)\n'


Question: 'Simplify (p*p/p**(-6)*p)**(-7/6)*p/(p/(p*p/(p**(22/3)/p)*p))*p**(14/3)/p assuming p is positive.\n'

Answer: 'p**(-61/6)\n'


Question: 'Simplify ((u*u*u/(u/((((u/(u*u**(-3)))/u)/u)/u)))/(u**(-3/8)/u)*u*u**(-1/4)*u*u*u/(u**(-3/2)/u))**45 assuming u is positive.\n'

Answer: 'u**(3465/8)\n'


Question: 'Simplify i*i**(-2/11)*i**(4/15)*i*i**(-1)*i*i*i/i**(1/3) assuming i is positive.\n'

Answer: 'i**(619/165)\n'


Question: 'Simplify ((f*f**(1/17)/f*f*f)/(f**(-18)/f*f))/(f/f**23*f/(f*f*f**10*f)) assuming f is positive.\n'

Answer: 'f**(919/17)\n'


Question: 'Simplify (g*g**(-5/3)*g)**(1/31)/(((g*(g/g**3)/g)/g)/((g/g**(-3/4))/g)) assuming g is positive.\n'

Answer: 'g**(1399/372)\n'


Question: 'Simplify (k/k**(10/3))/(k/(k/(k/(k**(2/3)/k*k))))*(k**(-1/18))**(5/2) assuming k is positive.\n'

Answer: 'k**(-101/36)\n'


Question: 'Simplify t**12*t/(t/t**(2/5)*t)*((t**(-2/9)/t)/t)**28 assuming t is positive.\n'

Answer: 't**(-2287/45)\n'


Question: 'Simplify x**29*x*x**(8/7)*x**(-13)/(x**(8/11)/x*x) assuming x is positive.\n'

Answer: 'x**(1341/77)\n'


Question: 'Simplify r*r**(-7)*r*r*r**(-1/2)*r**(-1/4)*(r/(r/(r*r**(-9))))/r assuming r is positive.\n'

Answer: 'r**(-55/4)\n'


Question: 'Simplify q**(-9)/(q*q**(-2/5))*(q/(q*q**10))/(q*q/(q*q**(-4))) assuming q is positive.\n'

Answer: 'q**(-123/5)\n'


Question: 'Simplify (x/(x*x**(3/14)*x*x))/(x*x*x*x**(-27)/x)*x**(-20)/(x**(-26)/x) assuming x is positive.\n'

Answer: 'x**(417/14)\n'


Question: 'Simplify (t/t**(2/19)*(t*t*t**25/t)/t*t)/((t/(t/(t/(t*t/(t*t*t**(1/3)*t)))*t))/((((t/t**22)/t*t)/t)/t)) assuming t is positive.\n'

Answer: 't**(146/57)\n'


Question: 'Simplify ((((a*a*a**(2/7)*a)/a)**(3/11))**(-31))**(-1) assuming a is positive.\n'

Answer: 'a**(1488/77)\n'


Question: 'Simplify (q*q/(q**(-5)/q*q*q)*q**(-6)*q*(q**(1/2))**(-8/5))**(-38) assuming q is positive.\n'

Answer: 'q**(-38/5)\n'


Question: 'Simplify ((r**(-2)*r)**(17/5)/(r*r/(r**(-3/7)*r)*r*r/r**(-2/5)))**(2/137) assuming r is positive.\n'

Answer: 'r**(-506/4795)\n'


Question: 'Simplify (y**(27/5)/((y/(y/((y/(y*(y/(y*y**(18/7)))/y))/y)))/y))/(y*y*y*y**(11/2))**(-37) assuming y is positive.\n'

Answer: 'y**(22283/70)\n'


Question: 'Simplify ((f/f**(1/4)*f)/(f*f**(-9))*f**(-1)*f**(-1/5)/f)**21 assuming f is positive.\n'

Answer: 'f**(3171/20)\n'


Question: 'Simplify (c**(-3/4)/c**36)/(c/(c*c**(4/13)))**(-5/11) assuming c is positive.\n'

Answer: 'c**(-21101/572)\n'


Question: 'Simplify (n**(-21)/(((n/n**(-9))/n)/n))**(-5/6) assuming n is positive.\n'

Answer: 'n**(145/6)\n'


Question: 'Simplify (((v*v**(-2/13))/v*v)/(v/(v**(-1/13)/v)))/(v**(3/10)/v**(-9)) assuming v is positive.\n'

Answer: 'v**(-1369/130)\n'


Question: 'Simplify (a**(9/4))**(-5/3)*(a**(-3/2)/a*a*a)**26 assuming a is positive.\n'

Answer: 'a**(-67/4)\n'


Question: 'Simplify (((u*u*u*u**(1/6))/u)/u)**(-2/41)*(u**6)**(-12) assuming u is positive.\n'

Answer: 'u**(-8863/123)\n'


Question: 'Simplify (m*m**(-4))**10/((m**(2/13)/m)/m**9) assuming m is positive.\n'

Answer: 'm**(-262/13)\n'


Question: 'Simplify (k**(5/9)*k*(k*k**(5/6)/k)/k)/(k**(-1/16)*k**(8/9)) assuming k is positive.\n'

Answer: 'k**(9/16)\n'


Question: 'Simplify (p*(p**0/p)/p)**(-22)*(p/p**(-1/5))**(-30) assuming p is positive.\n'

Answer: 'p**(-14)\n'


Question: 'Simplify ((y*(y/(y/(y/(y/(y**(1/2)/y)))))/y*y)/y*y)/(y/(y/(y/y**8*y)*y*y))*y**12*y**(3/8) assuming y is positive.\n'

Answer: 'y**(167/8)\n'


Question: 'Simplify ((h*(h/h**3*h)/h)/h*h*h*h*h*h)**8*((h*h*h/h**(-3))/h)**(2/7) assuming h is positive.\n'

Answer: 'h**(178/7)\n'


Question: 'Simplify ((r*r**(-2))**(-25)/(r**(-1/3))**(-13/6))**(-11/3) assuming r is positive.\n'

Answer: 'r**(-4807/54)\n'


Question: 'Simplify ((b**(2/3)/b)**(-13)*(b/(b**(-3/5)*b))/(b*b*b**(-1/6)*b*b))**(-26) assuming b is positive.\n'

Answer: 'b**(-143/5)\n'


Question: 'Simplify (m**(-5/3)*m)**(-2/161)*m*m**(-8/7)*m*m**(13/2)/m assuming m is positive.\n'

Answer: 'm**(6149/966)\n'


Question: 'Simplify (f*f**4)/f*(f*f/((f*f**(2/41)*f)/f))/f*f*f**(-17)*f*f*f/(f/(f/((f**(3/23)*f)/f))*f*f) assuming f is positive.\n'

Answer: 'f**(-10542/943)\n'


Question: 'Simplify (s**(-1)*s*s*s**2*(s/s**(-1))**(-10/7))**(-27) assuming s is positive.\n'

Answer: 's**(-27/7)\n'


Question: 'Simplify ((g/(g*g*g/g**(2/5)))**15/(g*g**(-4)*g**(1/2)))**41 assuming g is positive.\n'

Answer: 'g**(-1763/2)\n'


Question: 'Simplify (m**(-2/7)/m)**(9/5)/(m**(-2/9)/(m*m/(m/m**(-1/10)))) assuming m is positive.\n'

Answer: 'm**(-751/630)\n'


Question: 'Simplify (((u/((u/(u/(u/((u/(u*u**(2/5)))/u)))*u)/u))/u)**(-9/4)/((u/(u/u**0*u))/(u**4/u)))**(-12) assuming u is positive.\n'

Answer: 'u**(-564/5)\n'


Question: 'Simplify (((t**(-2))**(-5))**(2/151))**(27/5) assuming t is positive.\n'

Answer: 't**(108/151)\n'


Question: 'Simplify ((u*u*u/(u*u/(u**(17/2)*u)*u))/u*u**(-9))/(u*u**(-2/15))**43 assuming u is positive.\n'

Answer: 'u**(-1133/30)\n'


Question: 'Simplify (a**(-1/2))**(-8)/((a*a**(-18)*a)/a**6) assuming a is positive.\n'

Answer: 'a**26\n'


Question: 'Simplify (((v*v**11*v*v)/v*v)**6)**(-20) assuming v is positive.\n'

Answer: 'v**(-1680)\n'


Question: 'Simplify x**(-12)*(x**4*x*x)/x*((x**(-1/6)*x)/x)**(-20) assuming x is positive.\n'

Answer: 'x**(-11/3)\n'


Question: 'Simplify (p**(1/5)/p*p*p)**(2/121)/(p**(-3/2))**(-1/14) assuming p is positive.\n'

Answer: 'p**(-1479/16940)\n'


Question: 'Simplify ((i/(i**(-3/5)/i)*i)/i**7*(i*i/i**(-6))/(i**5/i))**(-1/5) assuming i is positive.\n'

Answer: 'i**(-3/25)\n'


Question: 'Simplify (p/(p**(-2/13)/p))**(9/8)/(p**(-13)*p*p**(-18)) assuming p is positive.\n'

Answer: 'p**(843/26)\n'


Question: 'Simplify (h**(-4)/h)/h**(1/6)*h/(h*h*h/(h*h**(-24)))*h**(-9)/h assuming h is positive.\n'

Answer: 'h**(-241/6)\n'


Question: 'Simplify (y/y**2)**(-20)*(((y/y**13*y)/y)/y*y)/y**(-9/7) assuming y is positive.\n'

Answer: 'y**(65/7)\n'


Question: 'Simplify t**(-13)*t**(2/11)*(t**(-4/5))**35 assuming t is positive.\n'

Answer: 't**(-449/11)\n'


Question: 'Simplify ((l/l**(-4/3))/l*l*l*l*l**(3/13))/((l/(l*l*(l**(-16)/l)/l)*l)/(l/(l*l**(-2/27)/l)*l*l)) assuming l is positive.\n'

Answer: 'l**(-3637/351)\n'


Question: 'Simplify (k/k**(-3))/k*k**8*k**(-10)*k**1/k assuming k is positive.\n'

Answer: 'k\n'


Question: 'Simplify (b**(-2/31)/(b**(-1/23)/b))/(b**17*b*(b**(14/5)*b)/b) assuming b is positive.\n'

Answer: 'b**(-70662/3565)\n'


Question: 'Simplify (((y**(18/5)*y)/y)/(y**(-17/2)/y))**30 assuming y is positive.\n'

Answer: 'y**393\n'


Question: 'Simplify ((l**(-4)/l**(-8))/(l*l**(-2)/l*l/(l/(l*l**(-1/3)*l))))**8 assuming l is positive.\n'

Answer: 'l**(104/3)\n'


Question: 'Simplify (v**(3/4))**(45/4)*(v*v/(v/(v*v**(6/7))))/(v*v**(1/11)*v) assuming v is positive.\n'

Answer: 'v**(11339/1232)\n'


Question: 'Simplify ((q**6*(q/((q*q**7)/q))/q)**10)**(-20) assuming q is positive.\n'

Answer: 'q**200\n'


Question: 'Simplify (v**(-14/9)*v/v**(-6/5))/((v/((v/(v*v/((v*v**(-19/4))/v*v)*v))/v))/v*v**(16/7)) assuming v is positive.\n'

Answer: 'v**(-10573/1260)\n'


Question: 'Simplify (v**3/v*v/(v**0*v))/(v/v**(-2)*v**12) assuming v is positive.\n'

Answer: 'v**(-13)\n'


Question: 'Simplify (n/n**(-8))**(22/9)*(n**(2/17)/n)/(n**(-8/9)*n) assuming n is positive.\n'

Answer: 'n**(3214/153)\n'


Question: 'Simplify (y**(-2/11)*y)**(8/9)*(y**(-1/2))**(4/9) assuming y is positive.\n'

Answer: 'y**(50/99)\n'


Question: 'Simplify (b*b/(b/b**6)*b/b**(-2/17)*b)/(b**(-7)/b*b*(b**7/b*b)/b) assuming b is positive.\n'

Answer: 'b**(172/17)\n'


Question: 'Simplify (y*y/(y/(y/y**(-11)*y))*y**(-3))/((y/y**2)/(((y*(y**(-4)/y)/y)/y)/y)) assuming y is positive.\n'

Answer: 'y**5\n'


Question: 'Simplify (c**(-5)*c)**(-45)/(c/((c/((c*c*c*c/((((c/(c/c**13))/c)/c*c)/c))/c))/c)*c/c**(-11)*c) assuming c is positive.\n'

Answer: 'c**174\n'


Question: 'Simplify (r*r**(3/5))**(2/63)*(r/(r**(-1/2)/r))/(r/(r**(2/31)*r)) assuming r is positive.\n'

Answer: 'r**(51077/19530)\n'


Question: 'Simplify ((m**(2/17)/m*m)/(m*m**(-12)/m))/(m**(4/9)*m)**(-22) assuming m is positive.\n'

Answer: 'm**(6716/153)\n'


Question: 'Simplify x**3/x**4*x*x**(-1/14)*x**(-3/10)/x assuming x is positive.\n'

Answer: 'x**(-48/35)\n'


Question: 'Simplify (v*v**12)/(v/v**(-2/41))*v**(-11)/(v**(-9)/v) assuming v is positive.\n'

Answer: 'v**(449/41)\n'


Question: 'Simplify ((w**(-5/2)/(w**3*w))/(w**(1/7)*w**(4/5)))**(8/9) assuming w is positive.\n'

Answer: 'w**(-2084/315)\n'


Question: 'Simplify (s**(-5))**2/(s**(-5/4)/((s/(s**(8/7)*s*s))/s)) assuming s is positive.\n'

Answer: 's**(-333/28)\n'


Question: 'Simplify (h**(-1/30)*h/h**(-4/19))**(-18/11) assuming h is positive.\n'

Answer: 'h**(-183/95)\n'


Question: 'Simplify (((t*t/(t**(-8/7)*t)*t)/t)/t)**(1/17)/(t/t**(1/7))**(10/19) assuming t is positive.\n'

Answer: 't**(-124/323)\n'


Question: 'Simplify (x/x**4)**(2/87)/((x/(x/(x/(x/(x*x/((x/x**(-26))/x))))*x))/x**(4/5)) assuming x is positive.\n'

Answer: 'x**(3731/145)\n'


Question: 'Simplify ((a*a**(-32)*a)/a**(4/7))/(a**(-1/28)*a**(12/11)) assuming a is positive.\n'

Answer: 'a**(-9741/308)\n'


Question: 'Simplify (d*d*d**(2/17)*d)**(-2/15)*(((d**8/d)/d)/d)/d*d**(4/7) assuming d is positive.\n'

Answer: 'd**(7418/1785)\n'


Question: 'Simplify ((x**(-1/5)/x**4)/((x/(x/x**(-1/6)))/((x*x**8)/x)))**18 assuming x is positive.\n'

Answer: 'x**(357/5)\n'


Question: 'Simplify (x/(x/(x/((x*x*x**(-10))/x)*x)))**(2/11)*(x**(-4)*x*x)**(-27) assuming x is positive.\n'

Answer: 'x**56\n'


Question: 'Simplify (a**(-2/7)/a)**(-28)/(a*a**(14/5)*a/(a**(3/25)*a)*a) assuming a is positive.\n'

Answer: 'a**(783/25)\n'


Question: 'Simplify (i**(-18)/i*i**(-3))**14 assuming i is positive.\n'

Answer: 'i**(-308)\n'


Question: 'Simplify ((p*p*((p/p**(10/9))/p)/p)/p**(1/10))/(p**6)**(-1/48) assuming p is positive.\n'

Answer: 'p**(-31/360)\n'


Question: 'Simplify o*o**18*o*o/(o*o*o**(-5)/o*o*o)*(o*o**(-3/20))/o**(-20) assuming o is positive.\n'

Answer: 'o**(877/20)\n'


Question: 'Simplify (g**(-3/2))**(-11)*(((g*g/g**(-2/5))/g)/g)/g**(2/25) assuming g is positive.\n'

Answer: 'g**(841/50)\n'


Question: 'Simplify ((s/(s**11*s))/(s*s*s**20*s))**(3/34) assuming s is positive.\n'

Answer: 's**(-3)\n'


Question: 'Simplify (n**(-34)/n*n**(-11/3)/n)**31 assuming n is positive.\n'

Answer: 'n**(-3689/3)\n'


Question: 'Simplify ((a/(a/(a/(a/((a*a**7)/a)))))/a)/(a/a**(-2/43))*(a**(2/9))**(14/5) assuming a is positive.\n'

Answer: 'a**(10789/1935)\n'


Question: 'Simplify (c*c**9)/c*c*c*c*c**(1/6)*c*c*(c*(c**0*c)/c)**(3/11) assuming c is positive.\n'

Answer: 'c**(953/66)\n'


Question: 'Simplify ((o/o**(-10))/(o*o**(-6)*o*o*o*o*o)*(o**(-2/5)/o)/o*o*o*o/(((o**2*o*o)/o)/o)*o)**(-3/10) assuming o is positive.\n'

Answer: 'o**(-159/50)\n'


Question: 'Simplify ((r*r/r**(1/33))/(r*r**(-3/4)))**(-2/15) assuming r is positive.\n'

Answer: 'r**(-227/990)\n'


Question: 'Simplify ((b*b/(b**(-2/11)*b))/(b/(b**4/b*b))*b/b**(1/2)*b*b**(-2/3))**(10/3) assuming b is positive.\n'

Answer: 'b**(1655/99)\n'


Question: 'Simplify (g/(g*((g**(-6)*g*g)/g)/g*g)*g**(-1))/((g/(g/((g/(g**(-1/4)*g))/g*g)))/g*g**(2/41)) assuming g is positive.\n'

Answer: 'g**(771/164)\n'


Question: 'Simplify (m**(-2/37)/(m/m**(9/4))*(m**(1/3))**(-4))**(6/19) assuming m is positive.\n'

Answer: 'm**(-61/1406)\n'


Question: 'Simplify ((a*a**14)/a)/(a*a/(a**(1/30)*a*a)*a)*(a*((a*a**(-2/19)*a*a)/a)/a)**17 assuming a is positive.\n'

Answer: 'a**(25789/570)\n'


Question: 'Simplify u**7/u**(2/13)*(u**(-5)/u)/u*u**14/u assuming u is positive.\n'

Answer: 'u**(167/13)\n'


Question: 'Simplify ((m**(-2))**(-32)/(m/m**(-3)*m*(m*m**(-3/10))/m))**(-2/9) assuming m is positive.\n'

Answer: 'm**(-593/45)\n'


Question: 'Simplify (n**(-1/7)*n)**(17/2)*(n*n*n*n**26)**1 assuming n is positive.\n'

Answer: 'n**(254/7)\n'


Question: 'Simplify ((w/(w/w**(-1/2)))/(w/(w**22*w)))**(-8/9) assuming w is positive.\n'

Answer: 'w**(-172/9)\n'


Question: 'Simplify (((w*w**(-2/15)/w*w)/w)/w*w**(-3/5))/((w/(w**(-12)*w))/(w/(w**(2/55)*w*w))) assuming w is positive.\n'

Answer: 'w**(-2437/165)\n'


Question: 'Simplify (c/(c/(c/c**10))*c/(((c**(3/5)/c)/c)/c)*c)/(c*c**3/c*c)**(3/11) assuming c is positive.\n'

Answer: 'c**(-313/55)\n'


Question: 'Simplify (u/(u*u*u/(u**1/u*u*u)))**(-1/15)/(u/u**6*u*u*u*u/u**(-3/4)*u) assuming u is positive.\n'

Answer: 'u**(-3/4)\n'


Question: 'Simplify ((m/m**(-1/7))/(m*((m/(m**(9/4)/m))/m)/m*m))/(m**0/(m/(m**3*m))) assuming m is positive.\n'

Answer: 'm**(-45/28)\n'


Question: 'Simplify (o*o**5)**(-6)/((o*o/(o/(o**(-4/7)/o))*o)/(o/(o*((o*o**(-10)*o)/o*o)/o))) assuming o is positive.\n'

Answer: 'o**(-192/7)\n'


Question: 'Simplify ((((g**(2/3)*g*g)/g)/g)/((g/((g/(g*(g**6*g)/g*g*g*g))/g)*g*g)/g*g)*(g**(-1/3))**(20/7))**(1/2) assuming g is positive.\n'

Answer: 'g**(-93/14)\n'


Question: 'Simplify (d/((d*d**(-1))/d))**22*(d**(-2/15))**(-14) assuming d is positive.\n'

Answer: 'd**(688/15)\n'


Question: 'Simplify (h**(-1/3)/(h*h*(h*h**(3/17)*h)/h))**(-10/3) assuming h is positive.\n'

Answer: 'h**(1790/153)\n'


Question: 'Simplify (((t**(-3)*t)**(11/5))**(-46))**(-2/19) assuming t is positive.\n'

Answer: 't**(-2024/95)\n'


Question: 'Simplify ((q/(q*q**(-6)))/(q/(q*q**(-6/11))))/((q**(3/5)*q)/q**(-7)) assuming q is positive.\n'

Answer: 'q**(-173/55)\n'


Question: 'Simplify q*q**(3/17)/q*q**(-17)*q*(q/(q**(-2/9)/q))**24 assuming q is positive.\n'

Answer: 'q**(1913/51)\n'


Question: 'Simplify ((p*p**(-1/3)*p)**(-15)/((p/((p/(p/((p*(p*p**(4/7))/p*p)/p)))/p))/((p**(-6)/p)/p)))**(-2/11) assuming p is positive.\n'

Answer: 'p**(468/77)\n'


Question: 'Simplify (j/(j*j*j**(1/17))*j*j**(-1)*j)/(j**(2/5))**(-13/6) assuming j is positive.\n'

Answer: 'j**(206/255)\n'


Question: 'Simplify (n**(-8/3)*n/n**(-1/3))/((n*n/n**16*n*n)/(n*n**(11/3))) assuming n is positive.\n'

Answer: 'n**(46/3)\n'


Question: 'Simplify t**(11/2)/t*(t*t*t*t/t**(-4)*t)/t*((t**(-8/3)*t)/t)/((t*t*t**(-24))/t*t) assuming t is positive.\n'

Answer: 't**(191/6)\n'


Question: 'Simplify (r*r/(r*(r**(-2/11)/r*r)/r))**(2/11)*(r/r**(12/7))/(((r*(r/r**(-1)*r)/r)/r)/r) assuming r is positive.\n'

Answer: 'r**(-1116/847)\n'


Question: 'Simplify (l/l**(1/11))**31*((l/(l/(l/(l**(-4/7)*l*l))))/l)**(-25) assuming l is positive.\n'

Answer: 'l**(4920/77)\n'


Question: 'Simplify u/(u*u/u**(-13))*u*u*u**3*(u**(-5))**(-5/7) assuming u is positive.\n'

Answer: 'u**(-38/7)\n'


Question: 'Simplify (y/(y/(y**9*y*y))*(y**(-5/3)*y)/y)/((y/(y*(y*((y**(9/7)*y)/y)/y*y)/y))/(y*y/y**8)) assuming y is positive.\n'

Answer: 'y**(97/21)\n'


Question: 'Simplify (s/(s*s**1))**(3/4)/(s/(s*s**(-2/9))*s/s**1) assuming s is positive.\n'

Answer: 's**(-35/36)\n'


Question: 'Simplify k**(4/5)/(k*k*k/((k**(-1/2)/k)/k))*(k/(k/k**(7/5)))/k**(-10) assuming k is positive.\n'

Answer: 'k**(67/10)\n'


Question: 'Simplify ((l/l**16)**(-2/115))**(31/3) assuming l is positive.\n'

Answer: 'l**(62/23)\n'


Question: 'Simplify (v**14/v*v*v**(-13)/v)/((v*v/v**(2/33)*v)/(v*(v*v*v/(v**(-1)/v))/v)) assuming v is positive.\n'

Answer: 'v**(68/33)\n'


Question: 'Simplify f**(2/3)/((f*f*f**(-10)*f*f)/f)*(f/(f*f/(f/(f/(f*f/(f**(-9)/f))))))/f**16 assuming f is positive.\n'

Answer: 'f**(8/3)\n'


Question: 'Simplify ((((s/s**2)/s)/(s/(s/(s/(s/(s/((s**(-1/2)*s)/s)))))))/(s*(s*s**2)/s)**(1/21))**(2/29) assuming s is positive.\n'

Answer: 's**(-51/203)\n'


Question: 'Simplify ((k*k/k**(1/12))/(k/(k/(k/k**(-2/5)))))**21 assuming k is positive.\n'

Answer: 'k**(217/20)\n'


Question: 'Simplify (m**(-5))**(-25)/(m/(m*m**(-4))*m*m*m/m**13) assuming m is positive.\n'

Answer: 'm**131\n'


Question: 'Simplify ((x/x**(-46))/((x*x**(-9/4))/x))**(-7) assuming x is positive.\n'

Answer: 'x**(-1379/4)\n'


Question: 'Simplify (h**(2/29)/h**4)/(h/(h*h**(5/2)))**(2/29) assuming h is positive.\n'

Answer: 'h**(-109/29)\n'


Question: 'Simplify (i**(-1/3)/i**(-1/4))/((i*i**(-2/17))/(i**(-1/13)*i)) assuming i is positive.\n'

Answer: 'i**(-113/2652)\n'


Question: 'Simplify ((c*c/c**(-1/2))**(-22)*(((c/(c**(-1)/c))/c)/c)**(-2/11))**(33/2) assuming c is positive.\n'

Answer: 'c**(-1821/2)\n'


Question: 'Simplify (u**(-1/3))**4/((u**(1/11)/u)/(u*u/u**18)) assuming u is positive.\n'

Answer: 'u**(-542/33)\n'


Question: 'Simplify ((f**2)**(-41)*(f/(f/(f**(-1/2)/f)))**(-3/41))**(-28) assuming f is positive.\n'

Answer: 'f**(94010/41)\n'


Question: 'Simplify ((p**2/p**6)/(p**(-1)/p*p)**21)**(-6/31) assuming p is positive.\n'

Answer: 'p**(-102/31)\n'


Question: 'Simplify (g**0)**(-27)/(g*(g*g**(2/7))/g)**19 assuming g is positive.\n'

Answer: 'g**(-171/7)\n'


Question: 'Simplify ((v**(-2/27)/(v/(v*v/(v/v**(1/4)))))/((v/(v*v**1)*v)/(v**(-3/2)*v)))**(22/3) assuming v is positive.\n'

Answer: 'v**(-385/162)\n'


Question: 'Simplify (s/(s*s**9))/s**10*s**6/(s**(-1/10)/s) assuming s is positive.\n'

Answer: 's**(-119/10)\n'


Question: 'Simplify c*c/(c/(c*c**(-2/61)*c*c))*c/(c/(c*c/(c*c*c**(-5/4))))*((c*c*c/c**5*c)/c*c*c)**25 assuming c is positive.\n'

Answer: 'c**(1273/244)\n'


Question: 'Simplify (y**(-1/13)*y)**(1/44)*y**17*y**19/y assuming y is positive.\n'

Answer: 'y**(5008/143)\n'


Question: 'Simplify j**(-3/10)/(j*j/(j*j**(8/7))*j)*j**(-2/25)/(j/(j*j**(5/3))) assuming j is positive.\n'

Answer: 'j**(451/1050)\n'


Question: 'Simplify (j**(17/6)/j)/(j/j**(-8/7))*((j*j**(1/19))/j)/j**22 assuming j is positive.\n'

Answer: 'j**(-17761/798)\n'


Question: 'Simplify ((m**1/(m/(m**(-3/11)*m*m)))/((((m/(m/m**(-1/2)*m))/m*m)/m)/m)**(-3/7))**44 assuming m is positive.\n'

Answer: 'm**10\n'


Question: 'Simplify j**11/((((((j/((j*j**(-20)*j)/j))/j*j)/j)/j)/j)/j)*j**(1/31)*j*j**(-2/41)/j*j assuming j is positive.\n'

Answer: 'j**(-5105/1271)\n'


Question: 'Simplify (m/(m**4/m))**(2/99)/(m**(-7)/m*m*m**(1/2)) assuming m is positive.\n'

Answer: 'm**(1279/198)\n'


Question: 'Simplify j**(-2/7)*j*j**(-14)*j**(2/29)*j**(-2) assuming j is positive.\n'

Answer: 'j**(-3089/203)\n'


Question: 'Simplify ((r/((r**(-10/3)/r)/r))/r)**45/(r*r*r*(r/(((r/(r/(r*(r/r**(-9))/r)))/r)/r))/r*r*r**0) assuming r is positive.\n'

Answer: 'r**244\n'


Question: 'Simplify (u*(u**(-1/4)*u)/u*u/u**(5/2)*u)**35 assuming u is positive.\n'

Answer: 'u**(35/4)\n'


Question: 'Simplify b**(-4)/b*b**(-4)*(b/b**(-7))/(b*b**(-12)) assuming b is positive.\n'

Answer: 'b**10\n'


Question: 'Simplify (s**(-2)/s**(-2/9))**(1/11) assuming s is positive.\n'

Answer: 's**(-16/99)\n'


Question: 'Simplify (z**(2/7)*z/(z*z**9/z*z)*z)/((z*z/((z*z/z**0*z)/z))/z*z**(-14)/z) assuming z is positive.\n'

Answer: 'z**(58/7)\n'


Question: 'Simplify f*((((f**(-6)*f)/f)/f)/f)/f*f*f*f**(-18)*(f**(4/9)/f)**(-41) assuming f is positive.\n'

Answer: 'f**(-11/9)\n'


Question: 'Simplify ((p**(3/11)*p*p*(p/(p*p**(-1)/p)*p)/p)/(p**(-2/9)*p*p**(-3/4)))**(-8/15) assuming p is positive.\n'

Answer: 'p**(-3362/1485)\n'


Question: 'Simplify ((l**(-8/3)*l)/(l/l**(1/5)))/(l/(l**(3/5)*l)*l)**(34/9) assuming l is positive.\n'

Answer: 'l**(-179/45)\n'


Question: 'Simplify ((((k*k**(-6))/k)/k)**(6/13))**(-12) assuming k is positive.\n'

Answer: 'k**(504/13)\n'


Question: 'Simplify (v**(1/3)/((v/v**(-12))/v*v)*(v**(-3/2))**16)**(3/5) assuming v is positive.\n'

Answer: 'v**(-22)\n'


Question: 'Simplify ((p*p**(2/11))/p)**(1/37)*(p/p**3)**5 assuming p is positive.\n'

Answer: 'p**(-4068/407)\n'


Question: 'Simplify (j**(-1/4)*j)**(2/7)/((j**4/j)/(j**(-9)*j)) assuming j is positive.\n'

Answer: 'j**(-151/14)\n'


Question: 'Simplify z/z**2*z*z*z/(z*z**(-2/37)*z*z)*z*z*(z**18/z)/z*z/(z*z**(-18)/z*z) assuming z is positive.\n'

Answer: 'z**(1297/37)\n'


Question: 'Simplify n**8/n*n**1*(n*n**0)/n*n**(2/11) assuming n is positive.\n'

Answer: 'n**(90/11)\n'


Question: 'Simplify q**(-1)/(q*q/(q/(q*q**4)))*(q/q**4*q)**47 assuming q is positive.\n'

Answer: 'q**(-101)\n'


Question: 'Simplify ((b/b**(-2/9))/b)**(1/10)*(b**(5/2)*b)/b**(-13) assuming b is positive.\n'

Answer: 'b**(1487/90)\n'


Question: 'Simplify ((m**(-2/9)*m*m*m*m**5*m*m)/(m**1*m)**(3/5))**(-2/117) assuming m is positive.\n'

Answer: 'm**(-772/5265)\n'


Question: 'Simplify (g**2)**(-1)/(g**(-7/5)/g**14) assuming g is positive.\n'

Answer: 'g**(67/5)\n'


Question: 'Simplify (((a*a**(-4/7)/a)/(a*a**(-7)))**(-5/19))**(-32) assuming a is positive.\n'

Answer: 'a**(320/7)\n'


Question: 'Simplify q/q**(-2)*q*q*q*q**(-1/18)*(q*q**(-11))/(q/(q**(-20)*q)) assuming q is positive.\n'

Answer: 'q**(-433/18)\n'


Question: 'Simplify ((t**(-1/3)*t)/(t**(-2)/t*t))**(7/3) assuming t is positive.\n'

Answer: 't**(56/9)\n'


Question: 'Simplify (n**(14/3))**(-20/7)*(n**1/n)**(-45) assuming n is positive.\n'

Answer: 'n**(-40/3)\n'


Question: 'Simplify ((v*v**1)/v)**(5/7)*(v*v*v/(v*v/(v*v/v**(-9))*v)*v)/(v/(v**(1/3)/v)) assuming v is positive.\n'

Answer: 'v**(232/21)\n'


Question: 'Simplify (h**(3/7)*h)**(-8)*(h**(-4))**(-2/7) assuming h is positive.\n'

Answer: 'h**(-72/7)\n'


Question: 'Simplify (b/(b/(b/((b*b/b**(-8)*b)/b))))/b**(-5)*(b**(3/7)*b)**(-37) assuming b is positive.\n'

Answer: 'b**(-398/7)\n'


Question: 'Simplify (q**6*q)/(q/(q*q**(2/7)))*q**(1/36)*q*q**(-1/7) assuming q is positive.\n'

Answer: 'q**(2059/252)\n'


Question: 'Simplify (a**(2/17)/((((a/a**(-7)*a)/a)/a)/a))/(a/(a*a/a**3))**18 assuming a is positive.\n'

Answer: 'a**(-712/17)\n'


Question: 'Simplify (d**(1/2)/d)**5*d*d*d**26*d*d**(5/3) assuming d is positive.\n'

Answer: 'd**(169/6)\n'


Question: 'Simplify (c**0/(c**(-1/13)*c))/(c/c**(-6/11)*c*c/c**(-10/9)) assuming c is positive.\n'

Answer: 'c**(-7181/1287)\n'


Question: 'Simplify (((p/((p*p*p**(-4)*p)/p))/p*p**(2/13)*p)/((p*p**7)/p*p*p/p**(-1)))**(2/45) assuming p is positive.\n'

Answer: 'p**(-178/585)\n'


Question: 'Simplify ((r**(-1))**(-2/87)/(r/(r**(3/2)*r)*r*r**4))**5 assuming r is positive.\n'

Answer: 'r**(-3025/174)\n'


Question: 'Simplify (p**(1/3))**(-2/31)*(p**(-3))**20 assuming p is positive.\n'

Answer: 'p**(-5582/93)\n'


Question: 'Simplify k*k**20*k**(1/2)*((k/((k*k**(7/3)*k)/k)*k)/k*k)/k**(-2/79) assuming k is positive.\n'

Answer: 'k**(9571/474)\n'


Question: 'Simplify ((j*j*(j/(j/j**1))/j)**(15/4)/(((j**(-2)*j)/j)/(j*j**5)))**(-13) assuming j is positive.\n'

Answer: 'j**(-403/2)\n'


Question: 'Simplify (y**(-4/7)/y*y**(-2/9)*y*(y*y/y**0)**(-30))**34 assuming y is positive.\n'

Answer: 'y**(-130220/63)\n'


Question: 'Simplify (b**(4/11)/b)/(b/(b/b**(-11/5))*b)*(b/((b*b/(b/(((b*b*b**20)/b)/b)))/b))/((b**15/b)/b) assuming b is positive.\n'

Answer: 'b**(-1729/55)\n'


Question: 'Simplify ((y*y**(2/21))/((y/(y*(y*y**7)/y))/y))/((y/(y*y*y/((y*y**(-15))/y)*y))/y*y**(-13)) assuming y is positive.\n'

Answer: 'y**(863/21)\n'


Question: 'Simplify (s**(-2/3))**(-38)*(s**(-2/5))**(2/13) assuming s is positive.\n'

Answer: 's**(4928/195)\n'