Question: 'Let c(l) = -l**3 + 10*l**2 + 5*l + 4. Suppose -5*u = -125 + 180. Let s(o) = -2*o**3 + 19*o**2 + 10*o + 8. Let v(x) = u*c(x) + 6*s(x). Determine v(5).\n'

Answer: '4\n'


Question: 'Let u(n) = 3*n + 2. Suppose 18*d - 29*d = 55. Calculate u(d).\n'

Answer: '-13\n'


Question: 'Let x(a) = -232*a + 223*a - 8 + a**3 + 8*a**2 + 11. Give x(-9).\n'

Answer: '3\n'


Question: 'Suppose -6*c = 7*c - 8*c. Let d(x) = c*x**3 + 3*x**3 + 4*x**3 - 4*x**3 + x. Calculate d(-1).\n'

Answer: '-4\n'


Question: 'Let y(g) be the third derivative of 7*g**4/24 + g**3/2 + 3*g**2. What is y(-2)?\n'

Answer: '-11\n'


Question: 'Let s = -38 - -40. Let u(g) = -5*g**s - 3*g**2 - 43*g**3 + g + 44*g**3. Calculate u(8).\n'

Answer: '8\n'


Question: 'Let m(q) = -q**2 + 7*q + 2. Let z(d) = d**2 - 4*d - 111. Let w be z(13). Determine m(w).\n'

Answer: '8\n'


Question: 'Let g(d) = -d + 24. Suppose -2*x + 4*x = 18. Let s be g(x). Let t(l) = l**3 - 14*l**2 - 16*l + 9. Let b be t(s). Let c(o) = o + 12. Give c(b).\n'

Answer: '6\n'


Question: 'Let t = -17 - -17. Let r(d) = -15*d**3 - d + d**2 - 18 + 2*d + 14*d**3. Determine r(t).\n'

Answer: '-18\n'


Question: 'Let m(o) be the first derivative of -2*o**2 - 2*o + 5 - 2/3*o**3. Let r(l) = -l**2 - 4*l - 2. Let h be r(-4). Give m(h).\n'

Answer: '-2\n'


Question: 'Suppose -1 = -4*t - 5. Let k(y) = y + 15. Let x be k(-10). Let w be -10*t/(x/2). Let n(l) = 2*l - 6. Calculate n(w).\n'

Answer: '2\n'


Question: 'Let n(a) = -2*a + 2. Let s be n(-2). Let q(c) = -c**3 + 5*c**2 + 7*c - 2. Let l be q(s). Suppose -10*x - l = -11*x. Let t(j) = 2*j - 3. Determine t(x).\n'

Answer: '5\n'


Question: 'Let q(r) = r**3 - 6*r**2 - 3. Let i be -3 + 6 + 21/7. Give q(i).\n'

Answer: '-3\n'


Question: 'Let i(b) = -7*b**2 + 26*b**3 - 59*b**3 + 32*b**3 - b - 4*b. Calculate i(-6).\n'

Answer: '-6\n'


Question: 'Let h(t) = -29*t - 23*t - 30*t + 105*t - 22*t - 2. Give h(-8).\n'

Answer: '-10\n'


Question: 'Let o(d) = 2*d**2 + 3*d - 3. Suppose -8 - 7 = 3*k, 0 = 4*s - k - 25. Suppose -3*y + 4*v - s = 0, -3*y + 3*v - 7 = -1. What is o(y)?\n'

Answer: '6\n'


Question: 'Let p = 55 + -58. Let i(j) = -2*j**2 - j - 3. Give i(p).\n'

Answer: '-18\n'


Question: 'Suppose 4*c + 7 - 35 = 4*j, -j = -3*c + 17. Let f(i) = -6*i + 2. Let s(o) = 1. Let m be 0 + -1 - (-9 - -3). Let w(d) = m*s(d) - f(d). Calculate w(j).\n'

Answer: '-9\n'


Question: 'Let u be 5 - (-81)/(-15) - (-18)/20. Let z(d) be the first derivative of -u*d**2 - 3*d - 7. Calculate z(-4).\n'

Answer: '1\n'


Question: 'Let w(t) = t**3 - 6*t**2 - 2*t + 8. Let y(g) = 2*g - 16. Let d be y(11). Let a be 3/9 - 2/d. Let n(l) = -l**2 + 6. Let v be n(a). Determine w(v).\n'

Answer: '-4\n'


Question: 'Let w(k) = 2*k - 13. Let p(c) = -c + 4. Let z(r) = 8*p(r) + 3*w(r). Let d be z(-7). Let s(t) = d*t**2 - 15*t**2 - t + 4 + 5 + 4*t**3 - 3*t**3. Determine s(8).\n'

Answer: '1\n'


Question: 'Suppose -5*l + 0*l = -60. Let k(i) = -l*i - 7 + 5*i + 6*i. Suppose -10*x = -7*x. Give k(x).\n'

Answer: '-7\n'


Question: 'Suppose -2*p - g + 41 = -0*g, 4*g - 84 = -4*p. Let y(t) = -26 + p + 2*t**2 + t - t**3 + 4*t**2. What is y(6)?\n'

Answer: '0\n'


Question: 'Let i(b) = 4*b**3 - 4*b**2 - 3. Let l(p) = p**3 - p + 1. Let y(v) = i(v) - 3*l(v). Suppose 3*k + 1 = 7. Suppose 10 = -k*c, q - c = -q + 13. What is y(q)?\n'

Answer: '6\n'


Question: 'Let h(m) = 2*m - 69. Let y(d) = 70. Let t(b) = 3*h(b) + 4*y(b). Give t(-13).\n'

Answer: '-5\n'


Question: 'Let o(j) = 2*j - 11. Let s(v) = 5*v - 38. Let t be s(7). Let u be (-2 - t)/(-4*2/(-72)). Calculate o(u).\n'

Answer: '7\n'


Question: 'Let a(d) = 2*d - 5*d**2 + 2 - 2*d**2 - d**3 - 1 - d**2 - 10*d. Calculate a(-7).\n'

Answer: '8\n'


Question: 'Let l = -14 - -48. Suppose -38 = 4*u - l. Let y(w) = 9*w**3 + w**2 + w + 1. Calculate y(u).\n'

Answer: '-8\n'


Question: 'Let r(x) = -x**2 + 4*x - 2. Let f(i) = 1. Suppose u - 3*k + 2 = 10, 2*k + 8 = -2*u. Let n(m) = u*r(m) + f(m). Determine n(4).\n'

Answer: '3\n'


Question: 'Let z(d) = -11*d**2 + 3*d - 79. Let q(c) = 5*c**2 - c + 38. Let i(h) = -13*q(h) - 6*z(h). Calculate i(6).\n'

Answer: '-14\n'


Question: 'Suppose -2 + 54 = 13*n. Let w(x) = x**2 + 5*x - 6. Give w(n).\n'

Answer: '30\n'


Question: 'Suppose -2*j + 25 + 5 = 0. Suppose -2*l + 12 = -i - 0*l, -4*i - j = 3*l. Let t(k) = -k**2 - 6*k - 1. Determine t(i).\n'

Answer: '-1\n'


Question: 'Let t(i) be the third derivative of -1/3*i**3 - 7/24*i**4 + 0 - 15*i**2 + 0*i. Determine t(2).\n'

Answer: '-16\n'


Question: 'Let g(h) = h**2 - h**3 + 5*h - 708 + 707 + 3*h**2 - 3*h. Let s be (-17)/(-3) - (-2)/(-3). Determine g(s).\n'

Answer: '-16\n'


Question: 'Let d be -8 + (17 + -19)*(-1 + -1). Let q(v) = 2*v - 3. Let j(s) = -10*s + 16. Let x(a) = d*j(a) - 22*q(a). Suppose 0 = 3*w - 9. Calculate x(w).\n'

Answer: '-10\n'


Question: 'Let d(w) = -2*w - 6. Let j = 15 + -19. Let p be j/6 + (-80)/15. Let k be d(p). Let g(m) = 3*m - 8. Give g(k).\n'

Answer: '10\n'


Question: 'Let t(i) = i**3 - 5*i - 13. Let d = -38 - -33. Let g(z) = z. Let y(c) = d*g(c) - t(c). Calculate y(0).\n'

Answer: '13\n'


Question: 'Let y(v) = -v**2 + 6*v + 2. Let w = -29 + 34. Suppose -2*f = w*j + 15, -2*f - 5 = 2*j + j. Determine y(f).\n'

Answer: '7\n'


Question: 'Let a(w) = 17*w**3 + 4*w**2 - 3*w + 3. Let h(f) = -33*f**3 - 6*f**2 + f - f**2 - 5 + 4*f. Let y(q) = -5*a(q) - 3*h(q). Let j be 0 + 0 + -3 + 2. Give y(j).\n'

Answer: '-13\n'


Question: 'Let d(c) = -27*c - 277. Let p be d(-10). Let t(h) = 9*h - 1. Calculate t(p).\n'

Answer: '-64\n'


Question: 'Suppose -117 = 3*a + 36*a. Let r(s) = 3*s**2 + 11*s + 13. What is r(a)?\n'

Answer: '7\n'


Question: 'Let q = 60 - 57. Suppose q*o + 0 + 15 = 3*t, -3*t - 5*o = 9. Let b(j) = -j**3 - j**2 + 2*j + 1. Determine b(t).\n'

Answer: '-7\n'


Question: 'Let u(o) = -6*o**2 - 1. Let f be (-25)/10 - 2/4. Let g = 5 + f. Suppose -g*s - 10 = -0*x - 4*x, 0 = 2*s + x. Calculate u(s).\n'

Answer: '-7\n'


Question: 'Let r(q) = 7*q**3 + q**2 - 9*q + 16. Let v(n) = 11*n**3 + n**2 - 14*n + 25. Let o(y) = -8*r(y) + 5*v(y). Determine o(-3).\n'

Answer: '-9\n'


Question: 'Suppose 4*i - 13*i = -45. Let n(y) = 4*y + 0 + 7 + i - 2*y. Calculate n(-8).\n'

Answer: '-4\n'


Question: 'Let a(q) = -70*q + 0 - 15 + 71*q. What is a(0)?\n'

Answer: '-15\n'


Question: 'Let p be 10 + 4 + 5 + -11. Let g(t) = 2*t**3 - 15*t**2 - 8*t - 2. Calculate g(p).\n'

Answer: '-2\n'


Question: 'Suppose -8*y + 11 - 3 = 0. Let t be (-5 - -4)*-6*-1*y. Let c(i) = -4*i - 7. What is c(t)?\n'

Answer: '17\n'


Question: 'Let p be (2/3)/(2/(-6)). Let l(d) = 4*d**2 - 5*d + 3. Let h(b) = 3*b**2 - 3*b + 2. Let q(m) = -6*h(m) + 4*l(m). Calculate q(p).\n'

Answer: '-4\n'


Question: 'Let j(z) = 3*z**2 + 9. Let r(w) = -16*w**2 - 45. Let b(p) = 11*j(p) + 2*r(p). Let k(n) = n + 4. Let s = -2 - 2. Let d be k(s). What is b(d)?\n'

Answer: '9\n'


Question: 'Let g(n) = -n**3 - 14*n**2 - 5*n - 1. Let f = 1155 + -1169. Determine g(f).\n'

Answer: '69\n'


Question: 'Let t(i) = -i**3 + 6*i**2 + 7*i + 2. Let o be t(7). Let w(d) = d + 0 - 1 - d**o - 6*d. Suppose 15 = -5*m - 5. Calculate w(m).\n'

Answer: '3\n'


Question: 'Let c(r) = 5*r + 1. Let p(j) = 2*j - 6*j - j + 15 - 2*j. Let n(z) = 4*z - 7. Let f(m) = -11*n(m) - 6*p(m). Let k be f(-7). What is c(k)?\n'

Answer: '6\n'


Question: 'Let c(k) = k**3 + 19*k**2 + 17*k - 18. Let r be c(-18). Let d(j) be the second derivative of j**3/6 + 5*j**2/2 - 11*j. Calculate d(r).\n'

Answer: '5\n'


Question: 'Let o(t) = 5*t + 4. Let x(u) = -1. Let g(y) = -o(y) - 6*x(y). Determine g(4).\n'

Answer: '-18\n'


Question: 'Let d(b) = b**3 + 5*b**2 + 5*b - 1. Let q be d(-4). Let t(f) be the third derivative of 0 - 1/12*f**4 + 15*f**2 + 0*f - f**3. Calculate t(q).\n'

Answer: '4\n'


Question: 'Let z(u) = -u**3 + u**2 - u - 2. Suppose -6*i = -0*i - 5*i. What is z(i)?\n'

Answer: '-2\n'


Question: 'Let w be 2 - 9 - (-3 - -5). Let v(h) be the first derivative of h**3/3 + 9*h**2/2 - 2*h - 194. Determine v(w).\n'

Answer: '-2\n'


Question: 'Let b(j) = -j**2 - 66*j + 127*j - 2 - 68*j + 1. Calculate b(-3).\n'

Answer: '11\n'


Question: 'Let y(i) = i**2 + 8*i. Let k(a) = -a**2 + 7*a - 7. Let o be k(3). Suppose o*l + 34 - 4 = 0. Determine y(l).\n'

Answer: '-12\n'


Question: 'Suppose -175*l = -4*n - 179*l + 20, 25 = 5*n + 4*l. Let b(z) be the second derivative of z**5/20 - z**4/3 - 7*z**3/6 + 3*z**2 - z. Give b(n).\n'

Answer: '-4\n'


Question: 'Let b(z) be the second derivative of 7*z + 0 + 1/6*z**3 + 7/2*z**2. What is b(-5)?\n'

Answer: '2\n'


Question: 'Let i(s) be the third derivative of 0*s**3 + 0*s - 4*s**2 + 3/20*s**5 + 0 + 0*s**4. What is i(1)?\n'

Answer: '9\n'


Question: 'Let s = 38 + -34. Let y(p) = 1 - 8*p - 9*p - p**2 + 21*p. What is y(s)?\n'

Answer: '1\n'


Question: 'Suppose -3*x - 15 = 0, -3*q - x + 2*x = -38. Let k(f) = f + 0*f - 4 + 3 + q. Determine k(-5).\n'

Answer: '5\n'


Question: 'Let t(o) = -o**3 - 3*o**2 + 5*o. Let y = -20 - -23. Let m(c) = -c**2 + c + 1. Let w(h) = y*m(h) - t(h). Let x be 16/6 + 4/(-6). What is w(x)?\n'

Answer: '7\n'


Question: 'Let k(o) be the first derivative of -o**3/3 + o**2 - 6*o - 232. Calculate k(0).\n'

Answer: '-6\n'


Question: 'Suppose -r - 3 = -12. Let j be r/3 + -1 + -8. Let q(d) = 8*d - d**2 + 225 - 217 + 2*d**2. What is q(j)?\n'

Answer: '-4\n'


Question: 'Let z(a) = -2*a - 6. Let r be z(-5). Let j(v) be the first derivative of -v**3/2 + 3*v**2/2 + 3*v - 7. Let p(d) be the first derivative of j(d). Determine p(r).\n'

Answer: '-9\n'


Question: 'Let y(p) = 23 + 38 - 70 + 4*p**3 - 3*p**3 + 17*p - 8*p**2. Determine y(5).\n'

Answer: '1\n'


Question: 'Let g(a) = -4*a - 5 + 3*a + 0 + 0. Let x = -41 - -51. Suppose 2*m - 4 = 0, 0*m = 2*t - m + x. Calculate g(t).\n'

Answer: '-1\n'


Question: 'Suppose 0 = 2*m - h - 40, -4*m - 2*h + 76 = -3*h. Let a be (2/(-3))/((-1)/m). Let v = -7 + a. Let x(b) = -b**2 + 4*b + 6. What is x(v)?\n'

Answer: '1\n'


Question: 'Suppose -3*m + 5*x = 8 + 17, -3*x + 21 = -3*m. Suppose -9*r + 9 = -0. Let s(f) = -r - 2 + 1 - 1 - f. What is s(m)?\n'

Answer: '2\n'


Question: 'Suppose 5*b - 4*r + 5*r = -15, b + 3 = 2*r. Let s(o) = 12*o + 30. Calculate s(b).\n'

Answer: '-6\n'


Question: 'Let c(v) = -2*v**2 - 34*v - 35. Let g be c(-16). Let q(w) = 5*w**2 + w - 4. What is q(g)?\n'

Answer: '38\n'


Question: 'Suppose g = y, 5*g + 8 = -4*y + 44. Suppose 52 - 8 = 11*r. Let k(m) = -4 + 3 + 3 - 2*m + r*m. Calculate k(g).\n'

Answer: '10\n'


Question: 'Let c(t) = -6*t**2 - 21*t + 5. Let q(u) = -u**2 - 2*u + 1. Let r(n) = c(n) - 5*q(n). Determine r(-9).\n'

Answer: '18\n'


Question: 'Let x(u) = 12 - 1706*u + 852*u + 851*u. What is x(7)?\n'

Answer: '-9\n'


Question: 'Let q(t) = t**3 + t - 1. Let a(f) = -8*f**3 + 13*f**2 - 17*f - 16. Let s(h) = a(h) + 7*q(h). Give s(12).\n'

Answer: '1\n'


Question: 'Let k(o) = -o**2 - 21*o - 18. Let n be k(-20). Let z be (n*3/6)/((-1)/1). Let f(u) = -6*u - 1. Determine f(z).\n'

Answer: '5\n'


Question: 'Let g(b) be the first derivative of -11*b**2 - 2*b + 34. Give g(-1).\n'

Answer: '20\n'


Question: 'Let c(a) = -12*a + 0 + 12*a - 1 - 6*a**3. Suppose 5*x - 156 = -151. Calculate c(x).\n'

Answer: '-7\n'


Question: 'Let g(i) = i**2 - 5*i + 4. Let k be 1 - 3*43/3. Let r = -39 - k. Calculate g(r).\n'

Answer: '-2\n'


Question: 'Let v(o) be the first derivative of 2*o**3/3 + 2*o**2 - 4*o + 72. What is v(-4)?\n'

Answer: '12\n'


Question: 'Suppose 4*f = -4 - 8. Let q(t) be the third derivative of t**6/120 + t**5/15 - t**4/12 - 2*t**3/3 + t**2 + 410*t + 2. Determine q(f).\n'

Answer: '11\n'


Question: 'Let g(r) = -r**2 - 8*r - 16. Let c be g(-6). Let h(j) = j + 1. Let z(x) = -3*x - 2 + x + 0. Let y(s) = -3*h(s) - 2*z(s). Determine y(c).\n'

Answer: '-3\n'


Question: 'Suppose -3 + 57 = -18*t. Let p(m) = 3*m**2 + m - 4. Give p(t).\n'

Answer: '20\n'


Question: 'Let s(l) = l**3 - 4*l**2 - 7*l. Let u(q) = q**3 + 16*q**2 + 28*q + 7. Let c be u(-14). Let g(z) = -z**2 + 6*z + 12. Let h be g(c). Determine s(h).\n'

Answer: '-10\n'


Question: 'Let s(n) = -n + 13. Let t be (-16 + 1)*-6*(-2)/(-18). Calculate s(t).\n'

Answer: '3\n'


Question: 'Let f(r) = r**3 - 8*r**2 - 10*r + 1. Suppose c + 58*h - 53*h = -6, 3*c = 2*h + 33. What is f(c)?\n'

Answer: '-8\n'


Question: 'Let j be 2/(-2) + -1 - -11. Let x(u) = -9*u - u**3 + 0*u**3 + 33 + j*u**2 + 36 - 67. What is x(8)?\n'

Answer: '-6\n'


Question: 'Let j(h) = -6*h + 2. Let k = 37 - 29. Let x(w) = w - 11. Let c be x(k). Determine j(c).\n'

Answer: '20\n'


Question: 'Let j(g) be the third derivative of -g**6/360 - g**5/20 - g**4/4 - 11*g**3/6 + 12*g**2. Let a(n) be the first derivative of j(n). Calculate a(-5).\n'

Answer: '-1\n'


Question: 'Let d(p) = p. Suppose -4*h + 28 = 10*x - 8*x, 3*x + 6 = 0. Give d(h).\n'

Answer: '8\n'


Question: 'Let p(o) = -o - 1. Let d be 6/2 + (33 - -4). Suppose -d - 26 = 3*c. Let q be (-4)/c + 24/(-11). Calculate p(q).\n'

Answer: '1\n'


Question: 'Let g(u) = -5*u + 21*u - 14*u - 5. Suppose 0 = -2*b + 7*b - 30. Give g(b).\n'

Answer: '7\n'


Question: 'Let g(l) = 7*l - 10. Let z(w) = -3*w + 5. Let b(f) = -4*g(f) - 9*z(f). Let v(d) = -d - 11. Let y be v(-9). Let j be (-2)/(-2*y/(-12)). Calculate b(j).\n'

Answer: '-11\n'


Question: 'Let z = 926 - 918. Let x(f) be the first derivative of 1/2*f**2 + z + f + 8/3*f**3. Give x(-1).\n'

Answer: '8\n'


Question: 'Let r(q) = -q + 4. Let c(w) = 3*w**3 + w**2. Let y be ((-1)/(-4))/((-4)/(-16)). Let v be c(y). Suppose 6*t + v*u = 2*t, -t = -3*u. Give r(t).\n'

Answer: '4\n'


Question: 'Suppose w - 2 = -4*b - 12, b - 3 = -3*w. Let g(c) = -3*c**w + 2 + 6*c**2 + 6*c - 2*c. Calculate g(-2).\n'

Answer: '6\n'


Question: 'Let m be (0 - -2)*(-9)/6. Let g(r) = -3*r**2 - 5*r - 7. Let i(n) = -2*n**2 - 4*n - 6. Let t(q) = m*g(q) + 4*i(q). Let z be 0*((-4)/(-24)*-3 - -1). Give t(z).\n'

Answer: '-3\n'


Question: 'Let z(m) = 2*m**3 + m**2 + m + 3. Let u(s) = 9*s**3 + 8*s**2 - s + 11. Let l(o) = u(o) - 4*z(o). Give l(-4).\n'

Answer: '19\n'


Question: 'Let m = -79 + 84. Suppose 5*b + 45 = m*y, 4*y - 25 = 3*b + 2*y. Let a(j) = j**2 + 5*j - 8. Give a(b).\n'

Answer: '6\n'


Question: 'Let o(t) = t + 51 - 32 + 8. Determine o(-21).\n'

Answer: '6\n'


Question: 'Let m = -4432 + 4427. Let l(t) be the first derivative of t**5/60 + t**4/8 - 7*t**3/6 + t**2/2 + 1. Let g(z) be the second derivative of l(z). Give g(m).\n'

Answer: '3\n'


Question: 'Let o be (18/(-48)*2)/((-3)/(-8)). Let d(l) = l**2 + 1. What is d(o)?\n'

Answer: '5\n'


Question: 'Let s(b) = 4*b - 10. Let k be s(3). Let q(m) = 36*m**3 - 4*m - 7*m**k + 8 - 37*m**3 + m. Give q(-6).\n'

Answer: '-10\n'


Question: 'Let t(s) = -17*s**3 - 5*s**2 + 9*s - 20. Let w(b) = -9*b**3 - 3*b**2 + 5*b - 11. Let f(v) = 6*t(v) - 11*w(v). Let k = -10 - -4. Let c = 8 + k. Calculate f(c).\n'

Answer: '-13\n'


Question: 'Let o = -2 + 8. Let q(m) = -15*m + 126*m**2 + 23*m - 5 - 127*m**2. Determine q(o).\n'

Answer: '7\n'


Question: 'Let z = -53 - -50. Let f(b) = 2*b**3 + 3*b**2 - 4*b. Determine f(z).\n'

Answer: '-15\n'


Question: 'Let n(j) = 86*j + 1. Let m be n(-1). Suppose 5*k + 5*l = -235, 5*k + 239 = -3*l - l. Let w be (-18)/(-5)*m/k. Let r(g) = -g**2 + 7*g + 5. Determine r(w).\n'

Answer: '11\n'


Question: 'Let n(u) = -2*u - 2*u - 3*u + u**2 + 6*u - 3 + u**3. Suppose m + 25 = 6*m. Let v = m - 5. What is n(v)?\n'

Answer: '-3\n'


Question: 'Let f be 1*-1*1*(23 - 25). Let z = 6 + -4. Let g(n) = n**3 - n**2 + 3*n - n - 3*n**z + 2. Calculate g(f).\n'

Answer: '-2\n'


Question: 'Let f(t) = -3 - 33 - t**2 + 11*t + 35. Determine f(10).\n'

Answer: '9\n'


Question: 'Let f(l) = -3*l + 5. Let o(w) = w**2 + 13*w - 5. Let u be o(-11). Let s = 31 + u. Calculate f(s).\n'

Answer: '-7\n'


Question: 'Let y(i) = 8*i - 6. Let s(q) = -q - 1. Suppose 3*j - 1 = -7, -3*b - 5*j - 28 = 0. Let g be (2/(-16))/((-11)/88). Let h(r) = b*s(r) + g*y(r). Give h(-1).\n'

Answer: '-14\n'


Question: 'Let w = 3 + 9. Let j = w + -16. Let u = j - 1. Let x(f) = f**3 + 6*f**2 + 6*f - 5. Calculate x(u).\n'

Answer: '-10\n'


Question: 'Let h(l) be the first derivative of -5*l**2/2 + 5*l - 1. Suppose -80 = -6*t + 26*t. What is h(t)?\n'

Answer: '25\n'


Question: 'Let n(z) be the second derivative of -z**4/12 - 5*z**3/6 - 4*z**2 - 67*z. Let d(a) = -a**3 + 5*a**2 + 6*a - 6. Let c be d(6). Give n(c).\n'

Answer: '-14\n'


Question: 'Let a(k) = k + 3. Suppose -7*v + 6 = -22. Let s be 1 - (-6)/4*(0 - v). Give a(s).\n'

Answer: '-2\n'


Question: 'Let r(q) = -2921*q + 1 + 1463*q + 1459*q. Determine r(15).\n'

Answer: '16\n'


Question: 'Suppose -18 = -7*y + y. Suppose o = y*o - 4. Let k(m) = 6*m - o*m + m**2 - 2*m**2. Determine k(4).\n'

Answer: '0\n'


Question: 'Suppose 0 = -524*o + 525*o - 5. Let y be (-2 - -4)/(1/2). Let a(w) = y*w**2 + 4*w + 5 - w**3 - 2 + w. Give a(o).\n'

Answer: '3\n'


Question: 'Let a = -279 - -281. Let b(y) be the third derivative of -1/24*y**4 + 5*y**a + 7/6*y**3 + 0 + 0*y. Give b(3).\n'

Answer: '4\n'


Question: 'Suppose -3*c - 41 = -29. Let v(b) = 2*b + 4. Determine v(c).\n'

Answer: '-4\n'


Question: 'Let u(t) be the second derivative of -3*t + 2/3*t**3 + 1/60*t**5 - 3/2*t**2 + 0 - 7/24*t**4. Let m(q) be the first derivative of u(q). Determine m(6).\n'

Answer: '-2\n'


Question: 'Let g(m) = -m**3 + 5*m**2 - 2*m. Let c be (-2)/(-3) + (-4)/6. Suppose 0 = -2*x - c*x + 18. Let y = -5 + x. Give g(y).\n'

Answer: '8\n'


Question: 'Let r(b) be the second derivative of -b**3/6 + 2*b**2 - 180*b. Calculate r(-7).\n'

Answer: '11\n'


Question: 'Let b be ((-17)/(-6) - 3) + (-188)/24. Let i = b + 8. Let u(y) = y**2 - y + 19. Give u(i).\n'

Answer: '19\n'


Question: 'Suppose -4*n + 0 - 20 = 0. Suppose 10 = 5*u + 5*w, -3*u - 5*w = -8*u + 30. Let s(y) = 8*y + 4*y**2 - y**3 - u*y**2 + 7 - 4*y**2. Determine s(n).\n'

Answer: '-8\n'


Question: 'Let t = 65 - 74. Suppose 5*r = 3*b + 67, 4*b = 4*r - 10 - 50. Let h = t + r. Let j(u) = u**3 - 4*u**2 + 2*u - 3. What is j(h)?\n'

Answer: '-7\n'


Question: 'Let o(t) = -7*t**2. Let d be -9 - 3/9*0. Let l(y) = -y**3 - 9*y**2 + y + 13. Let s be l(d). Suppose 0*p = -p - 1, 2*h + s*p + 6 = 0. What is o(h)?\n'

Answer: '-7\n'


Question: 'Let t(p) = 2*p**3 - 2*p**2 - 2*p - 2. Let b be 912/(-10) - (-12)/(-15). Let c = 95 + b. Determine t(c).\n'

Answer: '28\n'


Question: 'Let q(a) be the second derivative of a**4/12 - 5*a**3/6 - 2*a**2 + 18*a. Calculate q(6).\n'

Answer: '2\n'


Question: 'Let m(z) = -z**3 + z**2 + 3*z + 6. Let x = -2353 + 2357. What is m(x)?\n'

Answer: '-30\n'


Question: 'Let j be 6 - 4 - ((-64)/12)/(-4). Let a(i) be the third derivative of j*i**3 + 0 - 2*i**2 + 0*i - 1/24*i**4. Determine a(3).\n'

Answer: '1\n'


Question: 'Let g(s) be the first derivative of -s**3/3 - 11*s**2/2 - 10*s + 5. Let m be g(-9). Let o(i) = -i**2 + 8*i + 11. Calculate o(m).\n'

Answer: '11\n'


Question: 'Let y(l) be the first derivative of l**2/2 + 5*l - 1. Let o(h) = -3*h**2 - h + 24. Let a be o(3). Determine y(a).\n'

Answer: '-1\n'


Question: 'Let v(y) = -y**2 + 18*y - 10. Let j be v(0). Let m(s) = s**3 + 9*s**2 - 13*s - 5. Calculate m(j).\n'

Answer: '25\n'


Question: 'Let l = 474 + -476. Let i(g) = -6*g**2 - 3*g - 2. Calculate i(l).\n'

Answer: '-20\n'


Question: 'Let i(n) = -2*n**2 + 2*n + 2. Let a be 1/(-3 + 1 - -1). Let c be -6 + (0 - a - 3). Let f be 4/c*0 + 2. What is i(f)?\n'

Answer: '-2\n'


Question: 'Let u(l) = -l**3 + 4*l**2 + 3*l + 1. Let f be (3 + -7 + 3)*-11. Let j(n) = -2*n**2 + 4*n - 3. Let a be j(2). Let w be (f - 1)/(-1 - a). Calculate u(w).\n'

Answer: '-9\n'


Question: 'Let b(n) = 2*n**2 + 9*n + 1. Suppose -v - 1 = 0, -5*v + 23 + 2 = -5*h. What is b(h)?\n'

Answer: '19\n'


Question: 'Let k(a) = 4*a**3 + 8*a**3 - 5 - a**2 + 4 + 2*a - 5*a**3. Suppose -f = -3, 2 = 5*h + f - 11. Suppose 0 = h*u - 7*u + 5. Give k(u).\n'

Answer: '7\n'


Question: 'Let p = -47 + 39. Let a = 12 + p. Let k(v) = v**2 - 4*v - 1. Calculate k(a).\n'

Answer: '-1\n'


Question: 'Let h(t) = t + 8. Let n be h(-5). Let q(c) be the third derivative of c**4/24 - 7*c**3/6 - 1400*c**2. Calculate q(n).\n'

Answer: '-4\n'


Question: 'Let l(g) = 2 - g**2 + 3*g - 4*g**2 + g**3 - 2*g - 6. Suppose -5*c - 3*u - 6 = -37, 5*u = 5*c - 15. What is l(c)?\n'

Answer: '1\n'


Question: 'Let b(k) = 36 - 36 + k. Let q(c) = -4*c. Let n(u) = -9*b(u) - 2*q(u). Let h(r) = r**3 + 6*r**2 + 4*r - 6. Let o be h(-5). Determine n(o).\n'

Answer: '1\n'


Question: 'Let r = 18 + -9. Let p(w) = -r*w + 2 - 4 - w**3 + 0*w**2 - 7*w**2 - 7. Let g(l) = 7*l + 1. Let t be g(-1). What is p(t)?\n'

Answer: '9\n'


Question: 'Let g(s) = s**3 - 4*s**2 - 4*s - 4. Suppose -4*l + 4 = 0, -3*l = 3*h - 15 + 3. Suppose 0 = h*n - 13 - 2. Calculate g(n).\n'

Answer: '1\n'


Question: 'Suppose -4*d + 40 = -4*g, d + 7*g - 2*g = -20. Let r(y) = -y**2 + 7*y - 12. What is r(d)?\n'

Answer: '-2\n'


Question: 'Let d(r) be the first derivative of 2/3*r**3 - r**2 + 3*r + 5. Let p(w) = -w**2 + 6*w + 9. Let a be p(7). Calculate d(a).\n'

Answer: '7\n'


Question: 'Let h(f) = -6. Let r(n) = -n - 5. Let q(d) = h(d) - r(d). Determine q(7).\n'

Answer: '6\n'


Question: 'Suppose 0 = x - 5*w + 5, -2*w = 5*x + 42 - 17. Let a(n) = -n**2 - 4*n + 7. Let g be a(-5). Let h(v) = 9 - g + 5*v + 0*v - v. Determine h(x).\n'

Answer: '-13\n'


Question: 'Let b(h) = -5*h**3 + 7*h**2 - 15*h + 1. Let j(o) = -8*o**3 + 15*o**2 - 29*o + 1. Let k(u) = -5*b(u) + 3*j(u). What is k(-11)?\n'

Answer: '9\n'


Question: 'Let a(j) be the first derivative of -j**2/2 + 4*j - 367. Calculate a(-7).\n'

Answer: '11\n'


Question: 'Let k(w) = w**2 - w - 2. Let v be k(3). Let b(s) = -s**2 - 6*s + 7 - 8*s - 4 + 19*s. Determine b(v).\n'

Answer: '7\n'


Question: 'Let a(t) = 5. Let s(f) = f - 20. Let c(g) = -6*a(g) - s(g). Give c(0).\n'

Answer: '-10\n'


Question: 'Let d(a) = a**3 - 3*a**2 - 6*a + 1. Let y be d(4). Let g(o) = -8*o + 121. Let l(t) = 6*t - 85. Let r(s) = 5*g(s) + 7*l(s). Calculate r(y).\n'

Answer: '-4\n'


Question: 'Let x be (-8 + 0)*-2*5/(-20). Let d(y) be the third derivative of 1/24*y**4 - 1/6*y**3 + 0*y + 0 - 3*y**2. What is d(x)?\n'

Answer: '-5\n'


Question: 'Let r(w) be the third derivative of w**4/24 + w**3/3 - 96*w**2. Give r(2).\n'

Answer: '4\n'


Question: 'Let k(c) = -c**3 - 5*c**2 + 7. Let p be 6/4*30/9. Suppose 0 = p*v + 61 - 36. What is k(v)?\n'

Answer: '7\n'


Question: 'Let a(p) = -14*p - 266. Let o be a(-20). Let y(q) = q**3 - 13*q**2 - 16*q + 21. What is y(o)?\n'

Answer: '-7\n'


Question: 'Suppose -5*c = -11*c + 84. Suppose 0 = c*y - 16*y + 12. Let x(l) = l**2 - 6*l - 5. Calculate x(y).\n'

Answer: '-5\n'


Question: 'Let t = 34 + -53. Let o = 21 + t. Let g(u) = -23*u**2 - 1 + 3 + 25*u**o. Determine g(-2).\n'

Answer: '10\n'


Question: 'Let d(g) = -g**2 - 3*g - 3. Let r be ((-72)/(-84)*-7)/2. Determine d(r).\n'

Answer: '-3\n'


Question: 'Let b(d) = -190*d**2 + 0 - 6*d - 1 + 194*d**2 + d**3. What is b(-5)?\n'

Answer: '4\n'


Question: 'Suppose 0 = -7*a + 147 + 763. Let v(u) = 6 - 254*u + a*u + 123*u + 1. Determine v(7).\n'

Answer: '0\n'


Question: 'Let m(d) = -8*d**2 - 17*d - 11. Let f(c) = -c**2 - c - 2. Let q(p) = -6*f(p) + m(p). What is q(-6)?\n'

Answer: '-5\n'


Question: 'Let t(d) = 5*d - 6. Let j = 565 + -562. Give t(j).\n'

Answer: '9\n'


Question: 'Let o(x) = 13*x**2 + 9*x + 4. Let b(g) = -37*g**2 - 25*g - 11. Let u(k) = -4*b(k) - 11*o(k). What is u(-1)?\n'

Answer: '4\n'


Question: 'Let k(y) = -46 + 45 + 6 - y. Calculate k(5).\n'

Answer: '0\n'


Question: 'Let b(k) = k**2 + 23*k - 107. Let q be b(-27). Let h(g) = 23*g**2 - 1. Calculate h(q).\n'

Answer: '22\n'


Question: 'Let l(a) be the first derivative of 7*a**4/4 - a**3/3 + a - 189. Give l(1).\n'

Answer: '7\n'


Question: 'Let h(s) = -4*s**3 + 2*s**2 - 3*s + 7. Let k(d) = 2*d**3 - d**2 + 2*d - 4. Let a(v) = 4*h(v) + 7*k(v). Determine a(3).\n'

Answer: '-39\n'


Question: 'Let a(f) be the first derivative of f**4/4 + 5*f**3/3 + 2*f**2 + 3*f - 1. Let h = 40 + -38. Suppose -h*u = 2*u + 12. What is a(u)?\n'

Answer: '9\n'


Question: 'Suppose -2*g + g = 10. Let p = 10 + g. Let s(t) = -4*t**2 + 0*t**2 + 1 + p - t + 3*t. Determine s(-1).\n'

Answer: '-5\n'


Question: 'Let t(w) = w**2 - 13*w + 37. Let g be t(8). Let z(j) = j**3 + 2*j**2 - 9*j - 2. What is z(g)?\n'

Answer: '16\n'


Question: 'Let y(c) = 2*c**2 + 9*c - 3. Let v(h) = h**2 + 8*h - 3. Let p(u) = -5*v(u) + 4*y(u). Let k be 6/21 + (-12)/(-7). Determine p(k).\n'

Answer: '7\n'


Question: 'Let g be 2/(-1 - (1 + -3)). Let p(u) = -g*u**2 - u + 2 + 1 - 2 + u**2 - u**3. Give p(0).\n'

Answer: '1\n'


Question: 'Let d(a) = 14*a**3 + 2*a**2 + 3. Let y(m) = 60*m**3 + 9*m**2 + 13. Let x(v) = -9*d(v) + 2*y(v). Calculate x(-2).\n'

Answer: '47\n'


Question: 'Let m(w) = -3 + 8*w + 11 + 3*w - w. Let x(s) = -s - 1. Let h(a) = -m(a) - 5*x(a). Suppose 0 = -n - 2*n + 15, n - 8 = c. Give h(c).\n'

Answer: '12\n'


Question: 'Let y(h) = -h - 18. Let z be y(7). Let q = -24 - z. Let x(o) = 2*o**2 + 0*o**2 + 5*o**3 - 1 + 3*o**3. What is x(q)?\n'

Answer: '9\n'


Question: 'Suppose 99 = 5*t - t - 3*s, -t + 2*s = -31. Let g(l) = 2*l - 44 - l**2 - 8*l + t + 20. Calculate g(-6).\n'

Answer: '-3\n'


Question: 'Let z(i) be the first derivative of -2/3*i**3 + 3/4*i**4 - 22 + 0*i**2 - i. Calculate z(2).\n'

Answer: '15\n'


Question: 'Let k = -14 + 10. Let z = k + 3. Let g(a) = 167 - a**2 - 136 - 31. Give g(z).\n'

Answer: '-1\n'


Question: 'Let n(y) = -y**2 - 2*y + 1. Let b(p) = -p**2 - 10*p - 6. Let z(g) = -g**3 + 15*g**2 - 15*g + 5. Let v be z(14). Let o be b(v). Suppose -o - 1 = -4*m. Give n(m).\n'

Answer: '-2\n'


Question: 'Let a(r) = -r**3 + r**2 - r + 1. Let p(h) = -5*h**3 + 7*h**2 - h + 4. Let b(l) = 4*a(l) - p(l). Let q be 3*2/2*(-1 + 1/3). Give b(q).\n'

Answer: '-14\n'


Question: 'Let v(c) be the first derivative of -c**3/3 + 3*c**2/2 - c + 127. Suppose -4*p = -4*j - 20, -p - j = 2*j - 1. Calculate v(p).\n'

Answer: '-5\n'


Question: 'Let p be (2/6)/(3/18). Let q be -1*(4 - 2) + p. Let o(x) = -5*x + 1. Let i(h) = 4*h - 2. Let g(l) = 4*i(l) + 3*o(l). Determine g(q).\n'

Answer: '-5\n'


Question: 'Let n be (-327)/(-12) - (-6)/(-24). Suppose n*b - 26*b + 3 = 0. Let w(c) = 4*c + 2. Determine w(b).\n'

Answer: '-10\n'


Question: 'Suppose -18 = 5*k + 2. Let q(c) be the first derivative of c**3/3 + 5*c**2/2 + 2*c + 60. What is q(k)?\n'

Answer: '-2\n'


Question: 'Let u = -6 - -11. Let o(k) = k**3 - 4*k**2 - 8*k + 7. Calculate o(u).\n'

Answer: '-8\n'


Question: 'Let f(b) be the second derivative of 0 + 1/3*b**3 + 2/3*b**4 + 21*b + 5/2*b**2 + 1/20*b**5. Calculate f(-8).\n'

Answer: '-11\n'


Question: 'Let c(z) be the first derivative of -11*z**2/2 + z + 9. Suppose -3*u = -3*v + 18, -u = -5*v + 1 + 13. Suppose v*g + 1 = 3. Calculate c(g).\n'

Answer: '-10\n'


Question: 'Let y(l) = 2*l. Suppose 3*v - 5*v - 32 = 0. Let p = -13 - v. Suppose 5 = 2*i - p. Determine y(i).\n'

Answer: '8\n'


Question: 'Let d(l) = -l**2 - 8*l + 2. Let a be d(-8). Let k(x) = -3*x - a + 2*x + x + 2*x. Let v(c) = c**2 - c - 32. Let p be v(6). What is k(p)?\n'

Answer: '-6\n'


Question: 'Let c be (15/(-10))/((-6)/16). Let j(t) = -t**3 + 6*t**2 - 6*t - 2. Let l(p) = -p**3 + 6*p**2 - 6*p - 1. Let z(y) = c*j(y) - 5*l(y). Give z(5).\n'

Answer: '2\n'


Question: 'Let n(f) = -2*f + f**2 + f + 4 + 8*f. Suppose -3*p - 14 = -56. Suppose 7*b - p = -56. What is n(b)?\n'

Answer: '-2\n'


Question: 'Let k be (-8)/(-28) + (2 - 16/7). Let a(g) = 4*g**3 - 12 + g + g**3 + g**2 - 4*g**3. What is a(k)?\n'

Answer: '-12\n'


Question: 'Let t(i) be the first derivative of i**4/4 - 5*i**3/3 - 2*i**2 - 4*i - 70. Determine t(6).\n'

Answer: '8\n'


Question: 'Let n(s) = -s**3 - 4*s**2 - s - 4. Suppose -k - 98 = -8*k. Suppose 20*i - k*i + 24 = 0. What is n(i)?\n'

Answer: '0\n'


Question: 'Let h(l) = l**2 + 7*l - 10. Suppose 12 = -3*i, f - i - 2 + 5 = 0. Determine h(f).\n'

Answer: '-10\n'


Question: 'Let f = 41 + -37. Suppose -x - 2*x + f*i - 16 = 0, -x - 5*i = -20. Let m(h) = h - 2. What is m(x)?\n'

Answer: '-2\n'


Question: 'Let h(r) = r**2 - 2*r + 1. Let v be h(3). Let z be ((-3)/24)/((-1)/8). Let a(l) = -z + 3 - v*l - 5 + 2 - 2*l**2. Give a(-3).\n'

Answer: '-7\n'


Question: 'Let o = -178 - -178. Let x(k) = k - 8. Determine x(o).\n'

Answer: '-8\n'


Question: 'Let r(f) = -f + 12. Let a be r(7). Let h be 0 - (a - 2 - 10). Let s(i) = i**3 - 8*i**2 + 7*i + 3. Let w be s(h). Let g(q) = -3*q - 1. What is g(w)?\n'

Answer: '-10\n'


Question: 'Let z(m) = -m**3 - 4*m**2 + 11*m - 9. Suppose v = 9*s - 4*s + 32, -2*s + 4*v = 20. Give z(s).\n'

Answer: '-3\n'


Question: 'Let h(n) = n**2 - 2*n + 4. Let q be h(0). Suppose -q*c - 35 = c. Let d(r) = -r**2 - 5*r + 4. What is d(c)?\n'

Answer: '-10\n'


Question: 'Let p be (-10)/(-2) + (-26)/((-208)/(-24)). Let n(a) = 0*a + 2 - 4*a + a + 2*a**2. What is n(p)?\n'

Answer: '4\n'


Question: 'Let n(u) = -u**3 - 5*u**2 + 14*u - 5. Let o be n(2). Let h(q) = -q**3 - 6*q**2 - 4*q + 7. What is h(o)?\n'

Answer: '2\n'


Question: 'Let i(l) be the third derivative of l**4/24 - l**3/6 - 2*l**2. Suppose 26*k = 22*k - 64. Let t(q) = -3*q - 43. Let r be t(k). Calculate i(r).\n'

Answer: '4\n'


Question: 'Let g(z) = -z**3 + 7*z**2 - 5*z + 3. Let a(q) = -24*q + 6. Let k be a(0). Calculate g(k).\n'

Answer: '9\n'


Question: 'Let s(y) = -3*y + 5. Let c(f) = 4*f - 6. Let a = -1 + -2. Let t(k) = a*s(k) - 2*c(k). Calculate t(3).\n'

Answer: '0\n'


Question: 'Let n = -16 - -18. Let f(k) = 10*k + n*k + 3*k + 3 - 12*k. Give f(-2).\n'

Answer: '-3\n'


Question: 'Let g be (-6 + 3)/((-3)/2). Suppose 70 = -8*l - g*l. Let d(q) = q**2 + 8*q - 1. Calculate d(l).\n'

Answer: '-8\n'


Question: 'Suppose -13*m + 27 = 66. Let b(w) = 2 + 3*w**2 - 3*w - 5 + w**3 - 2 + 2. Give b(m).\n'

Answer: '6\n'


Question: 'Let s(u) = -u**3 - 6*u**2 + 1. Let l(t) = -4*t - 18. Let j(i) = -7*i - 37. Let a(g) = 3*j(g) - 5*l(g). Let q be a(-15). Determine s(q).\n'

Answer: '1\n'


Question: 'Let n(x) = 2*x**2 + 18*x + 8. Suppose -26*y - 196 - 12 = 0. What is n(y)?\n'

Answer: '-8\n'


Question: 'Let b(p) = -p**2 - 2*p + 3. Suppose -x = v + 5, 16 = -2*x - x - 4*v. What is b(x)?\n'

Answer: '-5\n'


Question: 'Let n(d) = -11*d**3 - 23*d**2 + 11*d + 12. Let z(p) = 5*p**3 + 11*p**2 - 5*p - 6. Suppose -2*g - 10 + 2 = -s, g = -2. Let b(u) = s*n(u) + 9*z(u). What is b(-7)?\n'

Answer: '1\n'


Question: 'Let y(m) = -11*m - 10. Let w be y(-5). Suppose -4*d - 60 = -c + w, 3*c = 3. Let u = d - -29. Let l(b) = -b**3 + 3*b**2 - 2*b + 4. Calculate l(u).\n'

Answer: '-2\n'


Question: 'Let m = 20 - 8. Let d be 0*((-3)/m)/(-1). Let p(j) = -j**2 + j - 14. Calculate p(d).\n'

Answer: '-14\n'


Question: 'Let a(p) = -83 - 74 + 0*p**2 - 4*p - p**2 - 83 + 237. Let w(v) be the first derivative of v**2/2 - 10*v + 2. Let s be w(6). Give a(s).\n'

Answer: '-3\n'


Question: 'Let n = 0 + 2. Suppose -10*k = -6*k. Let u(w) = -2*w**2 + w**3 + 853*w - 3 - 849*w + k*w**2. Determine u(n).\n'

Answer: '5\n'


Question: 'Let g(c) = 5 + 3*c**2 + 5*c - 2*c**2 + 0*c**2. Let q be (-15)/5*(-5)/3. Suppose -4*z - 2*p = 10, 15 = -5*z - 3*p + q. What is g(z)?\n'

Answer: '5\n'


Question: 'Let p(q) = -q**3 - 2*q + 9. Let l(n) be the first derivative of -n**4/4 + n**3/3 - n**2 + 10*n + 2. Let w(m) = -5*l(m) + 6*p(m). Give w(-3).\n'

Answer: '-8\n'


Question: 'Let v(a) = 9*a**2 - 2*a - 1. Let c(n) = -8*n**2 + 2*n + 1. Let s(j) = -3*c(j) - 2*v(j). Suppose -2*r - r + 6 = 0. Calculate s(r).\n'

Answer: '19\n'


Question: 'Let n = -8 + 8. Suppose 2*w + w - 6 = n. Let h(s) = 0*s**2 - 2*s**2 - 2 + s**2 + 1 - w*s. Determine h(-3).\n'

Answer: '-4\n'


Question: 'Let q be (0 - 0)*6*2/12. Suppose -28 = -4*n - 2*y, q*y - 16 = -2*n - 2*y. Let p(g) = -g**3 + 5*g**2 + 6*g + 1. Give p(n).\n'

Answer: '1\n'


Question: 'Let h(a) = a - 1. Let t be h(-7). Let c(g) = 5 - 8*g + 6*g**2 + 0*g**2 - 7*g**2. What is c(t)?\n'

Answer: '5\n'


Question: 'Suppose -3*d + 2*s - 1 = -14, 0 = 4*d - 4*s - 16. Let j(h) = -h**2 + 8*h - 14. Give j(d).\n'

Answer: '1\n'


Question: 'Let j(y) = 64*y + 12. Let t(o) = 23*o + 4. Let f(l) = 5*j(l) - 14*t(l). Determine f(9).\n'

Answer: '-14\n'


Question: 'Let t be ((-14)/(-6) - 2)*15. Suppose 8 + 7 = -3*y, -4*f = y + 1. Let v(p) = -f - p + 0 - 3. Give v(t).\n'

Answer: '-9\n'


Question: 'Let w(b) = 8*b**2 - b + 2. Let n = -56 - -54. Determine w(n).\n'

Answer: '36\n'


Question: 'Let n(l) be the third derivative of -l**6/120 - l**5/60 + l**4/24 + l**3/6 - 2*l**2. Suppose 75*g + 2*i - 4 = 73*g, 5*i = 15. Give n(g).\n'

Answer: '0\n'


Question: 'Let z(g) = -g + 7 + 9*g**2 + 0*g**2 + 6*g**2 - 13*g**2 - g**3. Determine z(3).\n'

Answer: '-5\n'


Question: 'Let w(f) = -f**2 - 3*f - 1. Let z(h) = -3*h**2 - 8*h - 4. Let m(t) = -8*w(t) + 3*z(t). Let c(j) = -j - 9. Let v = 14 + -23. Let a be c(v). What is m(a)?\n'

Answer: '-4\n'


Question: 'Suppose s - 31*s + 210 = 0. Let h(n) = n + 5. Determine h(s).\n'

Answer: '12\n'


Question: 'Suppose 3*o - 17 = 3*j - 2, 0 = 3*j - 2*o + 13. Let s be ((-1)/j)/((-3)/(-45)). Let v(h) = -10*h + 24*h - h**2 - 10*h + 5. What is v(s)?\n'

Answer: '0\n'


Question: 'Let j be (10/(-5))/((-12)/8 - -1). Let w(c) = -c - 1 + 2 - 4. Give w(j).\n'

Answer: '-7\n'


Question: 'Let a(c) = -133181 + 133181 + c. Give a(-5).\n'

Answer: '-5\n'


Question: 'Let p(w) = -2*w + 11 - 36 - 9*w + 21. Give p(4).\n'

Answer: '-48\n'


Question: 'Let x(m) = -66*m + 1. Let b be x(1). Let o be b/(-10) + (-3)/6. Let n(q) = q**2 - 6*q - 3. Determine n(o).\n'

Answer: '-3\n'


Question: 'Let o(i) = 6*i + 11. Let n(d) = 2*d + 4. Let a(x) = -8*n(x) + 3*o(x). What is a(2)?\n'

Answer: '5\n'


Question: 'Let r(p) be the third derivative of -p**5/120 + p**4/24 - 31*p**3/6 - p**2. Let l(q) be the first derivative of r(q). What is l(0)?\n'

Answer: '1\n'


Question: 'Let i(q) = 4*q - 4. Let c(o) = o - 2. Let m(d) = 3*c(d) - i(d). Let x be (0*(-3)/6)/1. Suppose 2*z - 6 = -x*z. What is m(z)?\n'

Answer: '-5\n'


Question: 'Let g(c) = -2*c + 11 + 5 - 18 + c**2 - 6*c**2. Determine g(-1).\n'

Answer: '-5\n'


Question: 'Suppose 19*b - 14*b - 70 = 0. Suppose b*h = 3*v + 13*h + 16, -v - 5*h = 0. Let t(n) = -3*n + 1. What is t(v)?\n'

Answer: '16\n'


Question: 'Let h(m) = -2*m**2 + 12*m + 9. Let l = 43 - 36. Let u be h(l). Let c(o) = -5 - o - 1 - 1. Calculate c(u).\n'

Answer: '-2\n'


Question: 'Let f(x) = 3*x + 2. Let o(g) = -g**2 + 8*g + 22. Let l be (-1)/((-41)/10 + 4). Let n be o(l). What is f(n)?\n'

Answer: '8\n'


Question: 'Let x(m) = 2*m + 2*m - m**2 + 1 - 2*m. Let s be 47/(-188) + (-39)/(-12). Determine x(s).\n'

Answer: '-2\n'


Question: 'Let v = -10 + 0. Let r(q) be the first derivative of -q**2/2 - 13*q + 28. Determine r(v).\n'

Answer: '-3\n'


Question: 'Let m(l) = 9 + 78*l - 320*l - l**3 + 8*l**2 + 77*l + 77*l + 79*l. Determine m(7).\n'

Answer: '-5\n'


Question: 'Suppose -6*z + 3*z = -12. Suppose -18*b + 12*b - 54 = 0. Let h(j) = 7*j**3 + 5. Let w(o) = 3*o**3 + 3. Let k(y) = b*w(y) + z*h(y). Determine k(0).\n'

Answer: '-7\n'


Question: 'Let b = -181 - -180. Let w(x) be the first derivative of 11*x**2/2 - x - 3. Calculate w(b).\n'

Answer: '-12\n'


Question: 'Let b(f) = f**3 + 12*f**2 + 10*f + 3. Let k be b(-11). Suppose -4*i = s + s + k, 0 = i - 4*s + 26. Let x(t) = -t + 1. What is x(i)?\n'

Answer: '7\n'


Question: 'Let t(s) = 4*s**2 - 7*s + 7. Let p be -3*(-2)/((-6)/(-5)). Let b be t(p). Let r be ((-2)/(-4))/(9/b). Let v(x) = x + 5. Give v(r).\n'

Answer: '9\n'


Question: 'Let d(g) = g**2 - 2 - 2*g - 3*g**2 + g**2. Suppose 71 + 37 = 4*x. Let z = x - 29. What is d(z)?\n'

Answer: '-2\n'


Question: 'Let w(p) be the second derivative of p**4/12 + p**2/2 + 65*p + 2. Calculate w(5).\n'

Answer: '26\n'


Question: 'Let s(h) = h**3 - 3*h + 3. Let c(l) = -3*l - 15. Let z be c(-4). Calculate s(z).\n'

Answer: '-15\n'


Question: 'Suppose 5*j - 5 - 12 = -3*p, 5*p - 2*j + 13 = 0. Let x(c) = 2 - 11 + 4 + 5*c**2 + 6. Determine x(p).\n'

Answer: '6\n'


Question: 'Let v(c) = 2*c + 6 - 10 + 15*c**3 + 6*c**2 + 15*c**3 - 31*c**3 + 4*c. Determine v(7).\n'

Answer: '-11\n'


Question: 'Let g(a) be the third derivative of 7*a**6/120 - a**5/30 - a**4/12 - a**3/6 - 9*a**2 - 1. What is g(-1)?\n'

Answer: '-8\n'


Question: 'Let j(p) = p - 18. Let c be (-5)/(-2)*(588/(-15))/(-14). Calculate j(c).\n'

Answer: '-11\n'


Question: 'Let f(z) = z**3 + 2*z**2 - 5*z - 2. Let o(k) = -k**2 + 21*k - 24. Let w be o(20). Calculate f(w).\n'

Answer: '-14\n'


Question: 'Let d(m) = m**2 - 14*m + 4. Let n = -663 + 675. Determine d(n).\n'

Answer: '-20\n'


Question: 'Let m be 124/(-28) + (-3)/(-7). Let w(p) = -p + 5. Give w(m).\n'

Answer: '9\n'


Question: 'Suppose 0 = 21*i - 6*i - 90. Let s(r) = -2*r + 3. Calculate s(i).\n'

Answer: '-9\n'


Question: 'Let p(f) = 14*f**2 - 2*f + 3. Let x be (-6)/18 - 26/(-6). Let g(h) = -14*h**2 + 3*h - 4. Let k(t) = x*p(t) + 3*g(t). Let z = -3 - -2. Determine k(z).\n'

Answer: '13\n'


Question: 'Suppose 4*b + 7 = -45. Let i(c) = -c - 29. Let o be i(b). Let x = o + 15. Let l(r) = -7*r**2 + r + 1. Calculate l(x).\n'

Answer: '-7\n'


Question: 'Let u(y) = -y**2 + 3*y - 1. Let n be u(2). Let d = n + 1. Let k(h) = -6*h - 9 + 4*h + 8. Calculate k(d).\n'

Answer: '-5\n'


Question: 'Let s(z) be the first derivative of 3*z**2/2 + z - 3. Suppose 2*p + 12 = -2*p. Calculate s(p).\n'

Answer: '-8\n'


Question: 'Let p(a) = -5*a**2 + 5*a - 5. Let t(f) = -11*f**2 + 11*f - 12. Let b(x) = -9*p(x) + 4*t(x). Give b(-3).\n'

Answer: '9\n'


Question: 'Let s(o) = -4*o - 6. Suppose 2*i - 4 = -3*l, 3*i + 8 = -0*l - l. Let j(h) = 3*h + 5. Let v(u) = i*s(u) - 5*j(u). What is v(5)?\n'

Answer: '4\n'


Question: 'Let a(r) = r**2 - 9*r + 10. Let z be a(8). Let v(u) = 5 + z*u - 2 + 3 - 1. Let q be (0 + -3)/((-8)/(-16)). What is v(q)?\n'

Answer: '-7\n'


Question: 'Let a(h) be the third derivative of h**6/120 - h**5/30 - 5*h**4/24 + h**3/2 - 2*h**2. Let t be 5/8*(-88)/(-10) + (-3)/2. What is a(t)?\n'

Answer: '15\n'


Question: 'Let f(l) = -l - 3. Let d(t) = t + 13. Let j be d(11). Let c be ((-2)/(-6))/((-71)/j + 3). Determine f(c).\n'

Answer: '-11\n'


Question: 'Let s(x) = x**3 - 2*x**2 + x - 1. Let u(b) = -5*b**3 + 17*b**2 - 17*b - 1. Let c(m) = -6*s(m) - u(m). What is c(-7)?\n'

Answer: '28\n'


Question: 'Let x(g) = -g - 14. Let u(v) = -1. Let o(m) = -5*u(m) + x(m). Suppose -4*i - 4*n + 56 = 0, -4*n - 835 = -3*i - 828. What is o(i)?\n'

Answer: '-18\n'


Question: 'Suppose 0 = 5*b - 30 - 10. Let o(h) = -h**2 + 10*h - 13. Determine o(b).\n'

Answer: '3\n'


Question: 'Let k(w) be the first derivative of -2*w**2 - 14*w + 284. Give k(-6).\n'

Answer: '10\n'


Question: 'Let a = -1044 + 12529/12. Let z(l) be the third derivative of 0*l + a*l**4 + 0 + 2/3*l**3 + 5*l**2. Determine z(-7).\n'

Answer: '-10\n'


Question: 'Let g = 18 - -2. Let b(p) = 0 + 2*p**2 - p**2 + 4 - g*p + 26*p. Give b(-6).\n'

Answer: '4\n'


Question: 'Let i = -53 - -45. Let s be i + 0 - (-14)/((-7)/(-1)). Let r(d) = -d**2 - 3*d - 6. Determine r(s).\n'

Answer: '-24\n'


Question: 'Let i(r) = r + 18. Let n(g) = -g - 33. Let q(s) = -5*i(s) - 3*n(s). What is q(6)?\n'

Answer: '-3\n'


Question: 'Suppose 7 = l - 18. Suppose 2*b + 3 = 4*f - l, 46 = 5*f + 3*b. Let k be (1 - 12/f)*12. Let z(q) = 2*q + 7. Calculate z(k).\n'

Answer: '-5\n'


Question: 'Let x = 2 + 2. Suppose 0 = 2*z + q - 2 - 0, -22 = -2*z + x*q. Let m(f) = -2*f - z*f**2 - 1 - f**2 - f + 3*f**2. What is m(-2)?\n'

Answer: '1\n'


Question: 'Let s(g) = -6 + g - 1 - 4. Let d be (-14025)/102*(-1 - 9/(-5)). Let z = 110 + d. What is s(z)?\n'

Answer: '-11\n'


Question: 'Let w(o) = 4*o - 10*o - 1 + 9*o. Let x(z) = -1. Let k(f) = -w(f) - 4*x(f). What is k(4)?\n'

Answer: '-7\n'


Question: 'Let r(k) be the first derivative of k**3/3 - 9*k**2/2 + 10*k - 40. Calculate r(7).\n'

Answer: '-4\n'


Question: 'Let o(a) = -8*a**3 - 15*a**2 + 17*a + 2. Let z(f) = -7*f**3 - 14*f**2 + 16*f + 3. Let b(j) = 6*o(j) - 7*z(j). What is b(-9)?\n'

Answer: '0\n'


Question: 'Let s(d) = 30*d - 61*d + 29*d + 1 + 23. What is s(12)?\n'

Answer: '0\n'


Question: 'Let q(k) = 2*k + 2 - 5 + 0. Let t(d) = -d + 1. Let w(v) = q(v) + 3*t(v). Let p be 3*(-1 - (-35)/21). Determine w(p).\n'

Answer: '-2\n'


Question: 'Let y(t) = t**3 - 6*t**2 + 8*t. Let v be y(4). Suppose v = -2*b + b - 2*u - 5, -b - 3*u - 10 = 0. Let m(s) = s + 2. What is m(b)?\n'

Answer: '7\n'


Question: 'Let o(k) = 8*k + 3. Let t(s) = -24*s - 12. Let n(g) = g + 1. Let h(q) = -15*n(q) - 3*t(q). Let b(m) = -2*h(m) + 15*o(m). Determine b(-2).\n'

Answer: '-9\n'


Question: 'Let s(l) be the second derivative of l**4/12 - 4*l**3/3 - 9*l**2/2 + 2*l + 2. Determine s(10).\n'

Answer: '11\n'


Question: 'Let o = -17 + 38. Let d(a) = 14*a + 8 + a**2 + 15*a - o*a. Give d(-6).\n'

Answer: '-4\n'


Question: 'Let l(n) = n**2 - 4*n. Let o = 76 - 71. Suppose 0 = -o*z + 2*x + 21, -6*z + z = x - 12. Calculate l(z).\n'

Answer: '-3\n'


Question: 'Let f(t) = 3*t - 6. Let g be f(10). Let w be ((-54)/g)/((-6)/16). Let k(m) = -m**3 + 6*m**2 - 5. Calculate k(w).\n'

Answer: '-5\n'


Question: 'Let z(d) = 2*d**3 + 3*d**2 + 3. Let b(n) = -n**3 - 2*n**2 - 2. Let l = 5 + -1. Suppose 2*c + l = 4*c. Let x(h) = c*z(h) + 3*b(h). Calculate x(1).\n'

Answer: '1\n'


Question: 'Suppose -4*b - 12*b + 48 = 0. Let n(h) = -5*h - 7. Let j(o) = -6*o - 8. Let s(p) = b*n(p) - 2*j(p). Calculate s(-4).\n'

Answer: '7\n'


Question: 'Let c(s) = -s**2 - 7*s + 4. Let v be ((-1 - 13)*1/(-2))/(-1). Determine c(v).\n'

Answer: '4\n'


Question: 'Let w(s) = -17*s**2 - 12*s + 16. Let u(m) = -3*m**2 + 1. Let c(d) = 6*u(d) - w(d). Calculate c(8).\n'

Answer: '22\n'


Question: 'Let b = 14 - 13. Suppose f + b = 2*k - 0, -5*f = 5. Let d(v) = -v + 11. Give d(k).\n'

Answer: '11\n'


Question: 'Let m(r) be the second derivative of 3*r**5/20 - r**4/6 - r**3/2 + r**2 - r. Let a(b) = 2*b**2 + b - 34. Let x be a(4). Determine m(x).\n'

Answer: '12\n'


Question: 'Let p be (10/20)/(1/28). Let g(v) = p*v - 9*v - 2 - 4*v. Let c be (1 + -2)/((-2)/(-6)). What is g(c)?\n'

Answer: '-5\n'


Question: 'Let l(y) = -y**3 - 5*y**2 - 2*y. Let r = 9 + -7. Suppose r*s + 11 = 3. What is l(s)?\n'

Answer: '-8\n'


Question: 'Let o(x) = -10607 + x + 10607. What is o(-2)?\n'

Answer: '-2\n'


Question: 'Let i(o) be the first derivative of o**4/2 + o**3/3 + o**2/2 - 40. Let m be (1 + 0)*(-1)/1. Give i(m).\n'

Answer: '-2\n'


Question: 'Let d(b) = b**2 - b + 9. Let a be (0 - (0 + 1))*0. Let w = -203 + 213. Suppose 0 = t + 3*l + l - 8, 3*t + 5*l - w = a. Give d(t).\n'

Answer: '9\n'


Question: 'Let o(q) = -3*q + 24. Let v be o(9). Let s(u) = -u - 4. Determine s(v).\n'

Answer: '-1\n'


Question: 'Let z(g) = 12*g - 11*g + 6 - 8*g + g**2. Let i be z(7). Suppose 9*u - i*u = 0. Let k(d) = d**2 - 4. Give k(u).\n'

Answer: '-4\n'


Question: 'Let b(y) = -y**3 - 7*y**2 + 5*y. Let a be (-85)/(-30) + 3/18. Let j(m) = 6*m**2 - 1 + m**3 + 0*m**3 + 133*m - 137*m. Let t(h) = a*j(h) + 2*b(h). Give t(-4).\n'

Answer: '5\n'


Question: 'Let r(a) = a**2 - 34*a - 112. Let j be r(37). Let h(d) be the second derivative of d**5/10 - d**4/6 + d**2/2 + 2*d. Determine h(j).\n'

Answer: '-3\n'


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

Answer: '17*t\n'


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

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


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

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


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

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


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

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


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

Answer: '6*z\n'


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

Answer: '-19*z**3\n'


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

Answer: '138*n**5\n'


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

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


Question: 'Expand (218 - 220 - 163*v + 56*v)*(0 + 2 - 4).\n'

Answer: '214*v + 4\n'


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

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


Question: 'Expand (45 - 8 - 1)*(0*i + 7*i + 4*i).\n'

Answer: '396*i\n'


Question: 'Expand (-2*v**2 + 6*v - 6*v)*(2*v**3 - 2*v**3 + 3*v**3) + 2*v**2 - 5*v**2 - 3 - 2*v + 137*v**5 - 132*v**5.\n'

Answer: '-v**5 - 3*v**2 - 2*v - 3\n'


Question: 'Expand (h**3 + 3*h**3 - 6*h**3)*(19 - 11 + 24) + (-1 + 3 - 4)*(5*h**3 - 16*h + 16*h).\n'

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


Question: 'Expand (2*y - 2*y + y**2)*(1251 - 1759*y**2 + 1241 - 2492).\n'

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


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

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


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

Answer: '18*x - 9\n'


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

Answer: '-16*u + 1\n'


Question: 'Expand (2 + 1 - 8)*(120*d - 121*d + 4 - 2).\n'

Answer: '5*d - 10\n'


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

Answer: '-14*u**5 + 35*u**3\n'


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

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


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

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


Question: 'Expand 91*g - 100*g + 16 - g**2 - 14 + (2*g - 3*g + 3*g)*(-2 - 2*g + 2).\n'

Answer: '-5*g**2 - 9*g + 2\n'


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

Answer: '-6*z**4 - 6*z**3 + 2*z\n'


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

Answer: '-42*x**4 - 22*x**3\n'


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

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


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

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


Question: 'Expand 4*u + 18 - 6 - 2*u + (-2 - 2 + 6)*(4*u - 3*u + u) + (3 - 19 - 10)*(-u + 2 - 2).\n'

Answer: '32*u + 12\n'


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

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


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

Answer: '-24*i\n'


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

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


Question: 'Expand (5*k**2 - 3*k**2 - 3*k**2)*(-k + 0*k - k) + ((4 - 3*k - 4)*(3 - k - 3) + 82*k**2 - 38*k**2 - 17*k**2)*(-2*k - 3*k + 4*k).\n'

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


Question: 'Expand ((-2 + 1 - 1)*(-4*i - 2 + 2) - 2*i + 4*i - i)*(12*i - 19*i + 39*i).\n'

Answer: '288*i**2\n'


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

Answer: '25*r**4 + r\n'


Question: 'Expand (x + 0 + 0)*(1046 - 2104 + 1054)*(-2*x**3 + 2*x**3 - 2*x**3) + 4*x**4 - 3*x**4 - 3*x**4.\n'

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


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

Answer: '67*b**4 + b**2\n'


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

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


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

Answer: '-6*l + 386\n'


Question: 'Expand (-2 - 1 - u - u)*(143 + 19*u - 143).\n'

Answer: '-38*u**2 - 57*u\n'


Question: 'Expand (0 + 0 + 3)*(74*n - 36*n - 37*n - 11*n**3) + n**3 + 3*n**3 - 2*n**3.\n'

Answer: '-31*n**3 + 3*n\n'


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

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


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

Answer: '-245*n\n'


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

Answer: '168*o**2\n'


Question: 'Expand (-12 + 27 - 20)*(0*m + 3*m - m).\n'

Answer: '-10*m\n'


Question: 'Expand (0 + 0 + 2*p**5)*(-29 - 37 + 54).\n'

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


Question: 'Expand (-2 + 2 + 4*n)*(0 - 1 - 1) + (7 - 14 - 40)*(2*n + 0*n - n).\n'

Answer: '-55*n\n'


Question: 'Expand (1 + 2 - 2)*(4*s - 2*s - 4*s) + (-1748 - 1710 + 3225)*(-2*s - 1 + 1).\n'

Answer: '464*s\n'


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

Answer: '16*m**3 - 8*m**2\n'


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

Answer: '4*l**5 + 3*l**2 + 2*l\n'


Question: 'Expand (-165 - 6*z - 171 + 346)*(2*z + 2 - 2 + (0*z - z + 0*z)*(-2 - 5 + 6) + 0*z - 2*z + 0*z).\n'

Answer: '-6*z**2 + 10*z\n'


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

Answer: '94*c**5\n'


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

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


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

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


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

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


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

Answer: '-162*c**2 + 2*c\n'


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

Answer: '-14*u\n'


Question: 'Expand 32*f - 81*f + 19*f + 0 - f + 0 + (1 + 2 - 6)*(-6 + 2*f + 6).\n'

Answer: '-37*f\n'


Question: 'Expand (-2 + 0*g**2 - 7*g**2 + 4)*(-508 + 149 - 34).\n'

Answer: '2751*g**2 - 786\n'


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

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


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

Answer: '-a**3\n'


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

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


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

Answer: '253*x**3\n'


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

Answer: '56*o**5 + 4*o**4 + o**3\n'


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

Answer: '42*b**2\n'


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

Answer: '64*l**2\n'


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

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


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

Answer: '12*d\n'


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

Answer: '-273*y\n'


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

Answer: '3*w**3 - 82*w**2\n'


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

Answer: '5*k**3 - 1\n'


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

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


Question: 'Expand (-200 + 153 + 319)*(3 + 2 - 2)*(-p - 3*p + 6*p).\n'

Answer: '1632*p\n'


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

Answer: '12*k**3 - 24*k**2\n'


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

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


Question: 'Expand (-430*h + 13 - h**2 + 430*h)*(-2*h**3 + 2*h**3 + 2*h**3).\n'

Answer: '-2*h**5 + 26*h**3\n'


Question: 'Expand ((4 - 2 - 1)*(-2*j + 6*j - j) - j + 4 - 4)*(167 + 4*j + 2*j**2 + 172 - 342).\n'

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


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

Answer: '-39*i**5\n'


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

Answer: '10*g + 15\n'


Question: 'Expand (5*v**2 - 4*v**2 - 8*v**2)*(-9*v**2 + 24*v**2 + 139*v**3 - 11*v**2 - 4*v**2).\n'

Answer: '-973*v**5\n'


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

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


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

Answer: '14*z**4 + 5*z**3\n'


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

Answer: '66*v**3 - 66*v\n'


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

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


Question: 'Expand -4*g + 3*g - g + 46 + 63*g - 64*g - 22 + (-2*g + 3*g - 3*g)*(-2 + 6 - 2) + 3*g - 5*g + 0*g.\n'

Answer: '-9*g + 24\n'


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

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


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

Answer: '81*r**2 - 162*r + 27\n'


Question: 'Expand 5*v - 5*v + 2*v**3 + (5*v + 2*v - 5*v)*(0 + 0 - 2*v**2) - 225*v**3 + 181*v**3 + 106*v**3 - v**3 - 2*v**3 + 2*v**3 + (0*v**3 + v**3 - 2*v**3)*(3 - 3 + 2).\n'

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


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

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


Question: 'Expand (3*w + 2*w - 2*w)*(-8 + 10 - 60)*(2*w - w + 0*w).\n'

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


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

Answer: '-9*s\n'


Question: 'Expand (2*u - 4*u + u)*(1324196*u - 1809*u**4 - 1324196*u).\n'

Answer: '1809*u**5\n'


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

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


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

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


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

Answer: '400*c**2 - 20*c\n'


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

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


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

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


Question: 'Expand (-9 + 17 - 11)*(-1 + 3 + 3)*(-z - 5*z + 4*z).\n'

Answer: '30*z\n'


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

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


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

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


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

Answer: '5*h**5 + 5*h**4\n'


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

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


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

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


Question: 'Expand ((3 + 0 - 4)*(-4 + 2 + 1) - 37 + 22 - 3)*(-11 - 8 + 5)*(0*m**2 + 0*m**2 + m**2).\n'

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


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

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


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

Answer: '-929*u**5\n'


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

Answer: '5*a**5 - 62*a**2\n'


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

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


Question: 'Expand 94*a - 41*a**3 - 94*a - 2*a**4 - 13*a**3 + (-4*a + 10*a**3 + 4*a)*(2 - 2 - 2*a).\n'

Answer: '-22*a**4 - 54*a**3\n'


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

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


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

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


Question: 'Expand (-3 + 0 + 4)*(2*d + d - 4*d) + 2*d + 2*d + 0*d + (2 - 4 + 4)*(27*d - 2 - 64*d + 53*d).\n'

Answer: '35*d - 4\n'


Question: 'Expand (3*p - 6*p + 4*p)*(-369*p - 60*p - 549*p).\n'

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


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

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


Question: 'Expand (0*h + 5*h + 5*h)*(-46*h + 6*h + 31*h**2 - 30*h**2).\n'

Answer: '10*h**3 - 400*h**2\n'


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

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


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

Answer: '-4*p**5 + 1\n'


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

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


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

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


Question: 'Expand (5 + 6 - 2)*(158*k**2 + 187*k**2 + 26*k**2 + 67*k**2 - 52*k**2).\n'

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


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

Answer: '-88*u**5\n'


Question: 'Expand (v**3 - v**3 + 2*v**3)*(10*v + 16*v - 3720 + 3754).\n'

Answer: '52*v**4 + 68*v**3\n'


Question: 'Expand (-56*r**2 + 56*r**2 - 33*r**3)*(91 - 91 + 3*r**2 - 3*r).\n'

Answer: '-99*r**5 + 99*r**4\n'


Question: 'Expand (-8 - 4 + 3)*(-7*y - 7*y - 8 + 16*y - y).\n'

Answer: '-9*y + 72\n'


Question: 'Expand (-2*k + 3*k**2 + 2*k)*(23 + 33 + 83)*(3*k - 4*k + 2*k + (4 + 2 - 5)*(k + k - k)).\n'

Answer: '834*k**3\n'


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

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


Question: 'Expand -2*n + 1 - 1 + 0*n + 4*n - n - 2*n - n + n - n + n - n + (4 - 4 + 2)*(0*n - n + 0*n) - 36*n - 29*n + 37*n.\n'

Answer: '-32*n\n'


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

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


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

Answer: '-1596*z**4\n'


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

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


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

Answer: '20*r**4 + 8*r**3\n'


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

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


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

Answer: '31*r**3\n'


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

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


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

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


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

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


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

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


Question: 'Expand (2*i + 2 - 2)*(109 - 10*i**3 + 104 - 216).\n'

Answer: '-20*i**4 - 6*i\n'


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

Answer: '1369*p**5\n'


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

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


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

Answer: 'w\n'


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

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


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

Answer: '-8*s**5 + 66*s**4\n'


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

Answer: '-70*z**5 - 28*z**4 - 42*z**3\n'


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

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


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

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


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

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


Question: 'Expand (l**2 + l**2 - 4*l**2)*(156*l - 88*l + 167*l).\n'

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


Question: 'Expand (-2155 + 1073 + 1084 - 152*u)*(0*u + 3*u**2 + 0*u).\n'

Answer: '-456*u**3 + 6*u**2\n'


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

Answer: '210*s\n'


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

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


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

Answer: '-u**2\n'


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

Answer: '-62*o\n'


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

Answer: '-34*t\n'


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

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


Question: 'Expand (-h - h + h)*(h + 0 + 0) + 204*h - 204*h + 88*h**2.\n'

Answer: '87*h**2\n'


Question: 'Expand 53*y**2 - 102*y**2 - 17*y**3 + 48*y**2 + y + (-4*y + 2*y + y)*(-y**2 + 4*y - 7*y - 5*y).\n'

Answer: '-16*y**3 + 7*y**2 + y\n'


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

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


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

Answer: '4*k - 132\n'


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

Answer: '4*g - 5\n'


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

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


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

Answer: '30*x\n'


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

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


Question: 'Expand (-106*u + 137*u - 110*u)*(-4*u + 5*u + u) + 2 - 2*u**2 - 2.\n'

Answer: '-160*u**2\n'


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

Answer: '-4*r**4 - 4*r**3 + 294\n'


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

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


Question: 'Expand (18*t - 23*t - 151*t)*(-4 + 3 + 2).\n'

Answer: '-156*t\n'


Question: 'Expand 3829 - 100*z - 3829 + (-1 + 0 - 1)*(-z - 2 + 2).\n'

Answer: '-98*z\n'


Question: 'Expand (0*m - 4*m + 3*m)*(2*m + 2 - 2) - 38*m**2 - 62 + 36*m**2 + 61 - 18*m.\n'

Answer: '-4*m**2 - 18*m - 1\n'


Question: 'Expand (3 + 5 - 2)*(19*c - 12*c + 11*c).\n'

Answer: '108*c\n'


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

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


Question: 'Expand 6*q**3 - 3*q**3 - 5*q**5 - 5*q**3 + (-18*q**3 + 18*q**3 + 12*q**4)*(4*q - 5*q - q).\n'

Answer: '-29*q**5 - 2*q**3\n'


Question: 'Expand (31 + 30 + 36 + 33 - 45)*(10*v + 6 - 6).\n'

Answer: '850*v\n'


Question: 'Expand 11 - 11 - 61*l + (-4 + 3 + 3)*(-l - l + 6*l).\n'

Answer: '-53*l\n'


Question: 'Expand 5*t**3 - 85 + 166 - 80 + (3*t**3 + 2*t**2 - 2*t**2)*(-2 - 2 + 6).\n'

Answer: '11*t**3 + 1\n'


Question: 'Expand (w + w - 4*w)*(1 - 2 - 1) - 354*w + 11*w - 91*w.\n'

Answer: '-430*w\n'


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

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


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

Answer: '-117*l\n'


Question: 'Expand (-22*l - 16*l + 42*l)*(-4 + 6 - 11 + (5 - 3 - 3)*(7 - 4 - 2)).\n'

Answer: '-40*l\n'


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

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


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

Answer: '-54*g**5 - 494*g**3\n'


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

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


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

Answer: '20*p**2 - 12*p + 8\n'


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

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


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

Answer: '-f**2\n'


Question: 'Expand (27 - 16 + 21)*(-1 + 1 - 1)*(-2*k + 1 - 3 + 3).\n'

Answer: '64*k - 32\n'


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

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


Question: 'Expand (0 - 2*p**3 + 0)*(199*p + 9*p**2 - 31*p**2 + 21*p**2).\n'

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


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

Answer: '3*u**5 + 2*u\n'


Question: 'Expand (1 + 2*c**3 - 1)*(-16*c**2 - 671 + c + 675 + 23*c**2).\n'

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


Question: 'Expand -3 + 3 + c + (131*c - 64*c + 135*c)*(-2 + 3 + 1).\n'

Answer: '405*c\n'


Question: 'Expand (3 - 3 - 2)*(332*f - 165*f - 146*f) + (f + f - 4*f)*(-3 + 4 - 3) + 3*f - 4*f + 2*f.\n'

Answer: '-37*f\n'


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

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


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

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


Question: 'Expand (-5*d + 3*d + 3*d)*(1 - 3 + 3)*(-23*d + 14*d + 16*d).\n'

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


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

Answer: '3*g\n'


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

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


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

Answer: '36*h**3 + 18*h**2\n'


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

Answer: '-14*i\n'


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

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


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

Answer: '-34*n\n'


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

Answer: '-17*h**5\n'


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

Answer: '-53*i\n'


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

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


Question: 'Expand (3*h + 2 - 1 + h)*(33 - 17 - 13 - 3*h).\n'

Answer: '-12*h**2 + 9*h + 3\n'


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

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


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

Answer: '-41*f\n'


Question: 'Expand (0*x**2 + 0*x**2 - 2*x**2)*(185*x**2 + 52*x**2 + 39*x**2 + 180*x**2).\n'

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


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

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


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

Answer: '16*z\n'


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

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


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

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


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

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


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

Answer: '260*k**3\n'


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

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


Question: 'Expand (b - 4*b + 5*b)*(1 - 3 + 3) + 268*b + 336*b - 16*b + 83*b.\n'

Answer: '673*b\n'


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

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


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

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


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

Answer: '13*g**4 + 1\n'


Question: 'Expand (-9*y + 7*y - 60 - 2)*(2 + 1 - 2)*(6*y - y - 3*y).\n'

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


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

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


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

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


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

Answer: '-7*r**3\n'


Question: 'Expand (278 - 53*h - 278)*(-8*h**3 + 7*h**3 + 6*h**3).\n'

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


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

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


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

Answer: '2*l**2 + 9*l\n'


Question: 'Expand (k**3 + 2*k**2 - 2*k**2)*(11*k**2 - 36*k**2 - 33*k**2).\n'

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


Question: 'Expand (-2*h**2 + h**3 - h**4 - h**3)*(-4 + 3 + 2) + h - 2*h**4 - h + 60*h**4 - 28*h**4 + 143*h**4.\n'

Answer: '172*h**4 - 2*h**2\n'


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

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


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

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


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

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


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

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


Question: 'Expand (42*l - 30*l - 36*l)*(-1 - 1 + 1).\n'

Answer: '24*l\n'


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

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


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

Answer: '17*u\n'


Question: 'Expand (-3 + 5 - 1)*(38*y - 69*y - 38*y).\n'

Answer: '-69*y\n'


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

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


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

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


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

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


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

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


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

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


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

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


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

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


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

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


Question: 'Expand (-1 - 1 + 4)*(-3*k + 7*k - 3*k) - 14 - 16*k + 11 + 12.\n'

Answer: '-14*k + 9\n'


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

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


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

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


Question: 'Expand (-2*u + 4*u - 4*u)*(12*u**4 + 17*u**2 - 41*u**2 + 25*u**2).\n'

Answer: '-24*u**5 - 2*u**3\n'


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

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


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

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


Question: 'Expand (-9 - 8 + 4)*(7*i + 2*i + i).\n'

Answer: '-130*i\n'


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

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


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

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


Question: 'Expand (26*u + 292 - 292)*(-4*u - 14*u + 2*u).\n'

Answer: '-416*u**2\n'


Question: 'Expand (22498*x - 11172*x - 10296*x)*(0 - 1 + 3).\n'

Answer: '2060*x\n'


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

Answer: '-825*m**3\n'


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

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


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

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


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

Answer: '94*u**3\n'


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

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


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

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


Question: 'Expand (-20*n + 6*n + 35*n)*(-19*n + 21 - 21 + (n + 2*n - 2*n)*(1 + 2 - 2) + 2 - 2 + n).\n'

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


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

Answer: '114*o**5\n'


Question: 'Expand (1 - 1 + 1)*(78 + 408 + 0*q - 2*q - 1464).\n'

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


Question: 'Expand (3*o**2 - 3*o**2 - 4*o**3)*(111 - 111 - 87*o**2).\n'

Answer: '348*o**5\n'


Question: 'Expand (2 + 118*z - 56*z - 57*z)*(1 + z - 1).\n'

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


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

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


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

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


Question: 'Expand (-15*i**4 - 6*i**4 - 5*i**4)*(-4 + 4 - i) - 7*i**5 + 11*i**5 - 17*i**5.\n'

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


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

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


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

Answer: '258*v\n'


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

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


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

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


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

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


Question: 'Expand (60 - 150 + 89 + 226 - 16*s)*(s**2 + 2*s**2 - s**2).\n'

Answer: '-32*s**3 + 450*s**2\n'


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

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


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

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


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

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


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

Answer: '48*t**5 - 48*t**2\n'


Question: 'Expand 2*s**2 + s**2 - 2*s**2 + (12 - 12 + 10*s)*(-s + 0*s + 0*s) - 2*s**2 - 2 + 2.\n'

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


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

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


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

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


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

Answer: '3*f**5 + f**2 + 8\n'


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

Answer: '-61*z\n'


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

Answer: '28*i**2\n'


Question: 'Expand -5*k**3 - 1 + k**3 + 2*k**3 + (-4 + 2 + 1)*(40*k**3 - 37*k**3 - 58*k**3).\n'

Answer: '53*k**3 - 1\n'


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

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


Question: 'Expand (0 + z + 0)*(-39*z + 11*z - 58*z) - 5*z**2 + 2*z**2 + 2*z**2.\n'

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


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

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


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

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


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

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


Question: 'Expand (-85 + 85 + 40*l**2)*(0 + 1 + 22*l**3 - 23*l**3).\n'

Answer: '-40*l**5 + 40*l**2\n'


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

Answer: '56*q**3\n'


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

Answer: '17*b**4 + 2*b**3\n'


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

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


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

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


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

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


Question: 'Expand (60*f**2 + 338*f - 338*f)*(2*f - f + 0*f).\n'

Answer: '60*f**3\n'


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

Answer: '24*s**3\n'


Question: 'Expand (-12 + 223*g - 45*g + 12)*(-3*g**3 + 3*g**3 - g**3).\n'

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


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

Answer: '18*o**5\n'


Question: 'Expand (-320 + 517 + 586)*((-g + 4 - 4)*(-2 + 5 - 4) - 4 - 3*g + 4 - 1 + 3*g + g - 5*g).\n'

Answer: '-2349*g - 783\n'


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

Answer: '-224*u**2\n'


Question: 'Expand (-22*t**3 + 63*t**3 + 87*t**3)*((-3 + 3 - t)*(-t + t + t) + 7*t**2 + 12*t**2 - 8*t**2).\n'

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


Question: 'Expand (-30*h**3 + 16*h**3 - 20*h**3)*(-8 - 2*h + 0*h + 9).\n'

Answer: '68*h**4 - 34*h**3\n'


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

Answer: '10*v**2 - 5\n'


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

Answer: '30*o**4 + 10*o**3\n'


Question: 'Expand (0*p + 6*p + 7*p)*(12 - 8 - 6).\n'

Answer: '-26*p\n'


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

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


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

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


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

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


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

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


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

Answer: '-210*o\n'


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

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


Question: 'Expand (3 - 3 - 2)*(3*g + 2*g + 3*g) + 24*g + 64*g - 45*g.\n'

Answer: '27*g\n'


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

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


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

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


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

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


Question: 'Expand (-54 - 33 - 25)*(-f - f + 3*f) - 1 + 1 - f + (4 - 4 + 2)*(-3*f + 3*f - 2*f) - 5*f + f + 3*f - 2*f + 4*f - f.\n'

Answer: '-117*f\n'


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

Answer: '17*y\n'


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

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


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

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


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

Answer: '-38*s**3\n'


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

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


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

Answer: '66*o**2 + 132*o + 198\n'


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

Answer: '-2*m\n'


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

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


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

Answer: '9*p\n'


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

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


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

Answer: '-960*r\n'


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

Answer: '2496*k\n'


Question: 'Expand (1 - 2*p - 1)*(941*p + 1038*p - 1198*p) - 2*p**2 - 2*p + 2*p.\n'

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


Question: 'Expand 32 - 11 + 463*o - 438*o + o**2 + (2*o + 0 + 0)*(-2*o - 2*o + 2*o).\n'

Answer: '-3*o**2 + 25*o + 21\n'


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

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


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

Answer: '-370*n**4 - 6*n\n'


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

Answer: '-102*j + 30\n'


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

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


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

Answer: '-65*s**4 + s**3\n'


Question: 'Expand (20 - 20 - 3*g**3)*(-1 + 3 - 3) + 374 - 374 + 57*g**3.\n'

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


Question: 'Expand (-64*n - 3*n**3 + 2*n**3 + 62*n)*(12 - 41 + 7 - 74).\n'

Answer: '96*n**3 + 192*n\n'


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

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


Question: 'Expand (-r**2 - 2*r**2 - 5*r**2)*(-136 + 136 + r**2 + 14*r).\n'

Answer: '-8*r**4 - 112*r**3\n'


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

Answer: '15*w + 25\n'


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

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


Question: 'Expand (-12 - 7*z + 12)*(27*z - 748 + 748) + (0*z**2 - 2*z**2 + 0*z**2)*(3 + 1 - 2) + z + z**2 - z + 0*z**2 - 3*z**2 + 2*z**2.\n'

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


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

Answer: 's\n'


Question: 'Expand (-3 + 3 + 2*y**3)*(-y**2 - 93 + 194 - 97).\n'

Answer: '-2*y**5 + 8*y**3\n'


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

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


Question: 'Expand (-4 - 3 + 7*s + 5)*(342*s**3 - 342*s**3 - 18*s**4).\n'

Answer: '-126*s**5 + 36*s**4\n'


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

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


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

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


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

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


Question: 'Expand (-4 + 4 - o**4)*(410 - 1083 + 491).\n'

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


Question: 'Expand (0 - 5 + 3)*(2 - 2 - l)*(122*l + 52*l + 53*l).\n'

Answer: '454*l**2\n'


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

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


Question: 'Expand (-53 - 20 - 61 + 28)*(-2 + 2 - 3*o**3).\n'

Answer: '318*o**3\n'


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

Answer: '24*t**5 - 8\n'


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

Answer: '-g**4\n'


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

Answer: '-131*y\n'


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

Answer: '96*t\n'


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

Answer: '81*k**3\n'


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

Answer: '-26*h\n'


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

Answer: '-90*b\n'


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

Answer: '65*d**5\n'


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

Answer: '111*w**5\n'


Question: 'Expand (16*a**5 + 146*a - 74*a + 2*a**4 - 68*a)*(-4 + 4 + 1).\n'

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


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

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


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

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


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

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


Question: 'Expand (-13 + 35 - 18)*(r**2 + 0 + 0)*(-4*r + 2*r - 2*r).\n'

Answer: '-16*r**3\n'


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

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


Question: 'Expand -11*h**4 + 8*h**4 - 9*h**4 + 2 + 2*h**4 - 2 + (-2*h**4 - h**4 + 4*h**4)*(2 - 2 - 8).\n'

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


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

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


Question: 'Expand (-286 + 119 + 124 + 111)*(-x**3 - x**3 + 10*x**3).\n'

Answer: '544*x**3\n'


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

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


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

Answer: '104*n**5\n'


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

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


Question: 'Expand (-5*d - 26*d**2 + 25*d**2 - 9*d + 2)*(2*d**2 + 2*d**2 - 6*d**2).\n'

Answer: '2*d**4 + 28*d**3 - 4*d**2\n'


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

Answer: '-56*s**3\n'


Question: 'Expand (0 - 4 + 3)*(-a - a + a) - 2*a - 4 + 4 + a + 2*a - 4*a - 279*a - 209*a + 82*a + a - 3*a + 2 - 1.\n'

Answer: '-410*a + 1\n'


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

Answer: '34*t\n'


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

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


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

Answer: '15*q**5 + 39*q**4\n'


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

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


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

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


Question: 'Expand (-8*u + 2 - 2)*(-18*u + 4*u**2 + 20*u + 7*u**2).\n'

Answer: '-88*u**3 - 16*u**2\n'


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

Answer: '-112*f\n'


Question: 'Expand -2 - 2*r + 2 + (3 + 0 - 1)*(4*r + 0*r - 2*r) + 903 - 132*r - 451 - 450 + (1 + 2 - 4)*(0*r + 5*r - 3*r).\n'

Answer: '-132*r + 2\n'


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

Answer: '8*t**4 - 8*t**2 - 188\n'


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

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


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

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


Question: 'Expand (-l**2 + 0*l**2 + 3*l**2)*(-105 - 171 - 165 - 202).\n'

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


Question: 'Expand (-2*k**2 + 2*k**2 + 2*k**2)*(621 - 309 - 5118 - 1549 - 329).\n'

Answer: '-13368*k**2\n'


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

Answer: '14*g**5 + 2*g\n'


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

Answer: '90*r\n'


Question: 'Expand (2*l - 6*l - l)*(215*l + 87*l - 67*l).\n'

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


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

Answer: 'u**3 + 12\n'


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

Answer: '-416*j**5 + 4*j\n'


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

Answer: '-27*n\n'


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

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


Question: 'Expand (22 - 50 + 21 + y)*(0 + 1 + 1) + 0 + 0 - y.\n'

Answer: 'y - 14\n'


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

Answer: '-96*y\n'


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

Answer: '-47*u**5\n'


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

Answer: '49*l**2\n'


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

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


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

Answer: '-8*s**3\n'


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

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


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

Answer: '88*b**2\n'


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

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


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

Answer: '-18*b\n'


Question: 'Expand (8*z**2 + 43 - 43)*(-23*z**2 + 5*z**2 + 9*z**2).\n'

Answer: '-72*z**4\n'


Question: 'Expand (-27 - 5 + 5)*(c - 8 + 8).\n'

Answer: '-27*c\n'


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

Answer: '-17*r**3\n'


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

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


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

Answer: '186*q\n'


Question: 'Expand (2*o - 2*o - 2*o)*(69 + 42 + 73).\n'

Answer: '-368*o\n'


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

Answer: '-3*q**2 + 6*q\n'


Question: 'Expand (16*z - 14*z + 24*z)*(-2*z**2 + 2*z**2 + 211*z**3 + 122*z**3 - 89*z**3).\n'

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


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

Answer: '62*r**3 + 8*r**2\n'


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

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


Question: 'Expand (-11 - 2 - 7 - 1)*(-30*p - 2*p - 2*p).\n'

Answer: '714*p\n'


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

Answer: '54*f\n'


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

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


Question: 'Expand 2*v - 2*v + v**3 + (1 - 1 - 2*v)*(3*v + v**2 - 3*v) + (-2*v + 3*v + 0*v)*(-v**2 + 2*v**2 + v**2) - 82*v**3 + 44*v**3 + 43*v**3.\n'

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


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

Answer: '6*w**5\n'


Question: 'Expand (-6 - 69*l + 6)*(-3*l - l - 3*l).\n'

Answer: '483*l**2\n'


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

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


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

Answer: '-7*j**4 - 2*j**3\n'


Question: 'Expand (-44*h + 26*h - 3 + 17*h)*(3 - 1 - 3)*(h - 4*h + h).\n'

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


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

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


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

Answer: '-13*b\n'


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

Answer: '6*w**3 - 2*w - 10\n'


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

Answer: '-93*u**2\n'


Question: 'Expand (-217 + 217 + 31*j**3)*(-3 + 40 - 7).\n'

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


Question: 'Expand (-7 - 1 - 1)*(-17*a**5 - 27 + 27).\n'

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


Question: 'Expand (2*g + 2 - 1 + 0*g)*(-74*g + 22*g - 21*g).\n'

Answer: '-146*g**2 - 73*g\n'


Question: 'Expand (19 + 14*o - 19)*(-1 + 1 + 1)*(o - 3 + 3).\n'

Answer: '14*o**2\n'


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

Answer: '8*a\n'


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

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


Question: 'Expand (-3*a + 7*a - 7*a)*(34*a**3 + 31*a**3 - 12*a**3).\n'

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


Question: 'Expand (2*z**2 + 3 - 3)*(7 - 2 - 2)*(-9 + 1 - 1)*(-38 + 28 + 36).\n'

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


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

Answer: '-2*f**5 + 2*f**4 + 2*f**3\n'


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

Answer: '26*u**5\n'


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

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


Question: 'Expand 1 - 1 + 2*o**2 - 7*o**2 + 4*o**2 + 4*o**2 + (-3 + 3 - 2*o)*(9*o + 18*o - 1 - 33*o).\n'

Answer: '15*o**2 + 2*o\n'


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

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


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

Answer: '-18*d\n'


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

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


Question: 'Expand 19*m**4 + 42*m**4 - 8*m**4 + (-2*m**3 + 2*m**2 - 2*m**2)*(2 - 2 - 2*m) - 4*m + 4*m - m**4 - m**3 + 2*m**4 + m**3 - 3*m**4 + 0*m**4 + m**4.\n'

Answer: '56*m**4\n'


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

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


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

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


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

Answer: '-8*r - 28\n'


Question: 'Expand (-2 - q**2 + 2)*(5*q - 2*q - q)*(44*q**2 - 97*q**2 - 219*q**2) + (q + 3*q - 2*q)*(-q**4 + 4*q**4 - 2*q**4).\n'

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


Question: 'Expand -98*k**5 - 353*k**5 - 80*k**5 - 234*k**5 + 21*k**5 + (2*k - 4 + 4)*(-2*k**4 + 2 - 2).\n'

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


Question: 'Expand (2*l + 4*l - 5*l)*(-60*l + 9 - 7 - 70*l).\n'

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


Question: 'Expand (3*g**3 + 2*g**3 - 6*g**3)*(-2198*g + 9 - 10 - 4495*g + 1).\n'

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


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

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


Question: 'Expand (169 - 9 + 116)*(2*i**3 + 2*i**3 - 2*i**3)*(-6*i + 5*i - i).\n'

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


Question: 'Expand (-2*p + 0*p + 0*p)*(-7 - 9 + 14)*(1 + 0 + 2).\n'

Answer: '12*p\n'


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

Answer: '-912*u**5\n'


Question: 'Expand -24*o**4 - 58*o**4 + 4*o**4 + (-o**2 + 3*o - 3*o)*(-o**2 + o**2 - o**2) + (-22*o + 22*o - o**3)*(o - 3*o + o).\n'

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


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

Answer: '-243*t\n'