question
stringlengths
45
165
answer
stringlengths
6
13
b'Express (1 + 0 + 0)*(-2 + 2 + k) - 3*k + k + 5*k + (2*k - 2 + 2)*(22 + 34 + 5) as j + i*k and give i.\n'
b'126\n'
b'Express (-19425*c + 19425*c - 17*c**2)*(-2 - 1 + 1)*(-4 + 1 + 1)*(-5*c + 5*c - 2*c) in the form m*c**2 + l + o*c + w*c**3 and give w.\n'
b'136\n'
b'Express f + 2*f + 8813*f**2 - 8812*f**2 + 49 in the form h + r*f + c*f**2 and give h.\n'
b'49\n'
b'Express (3 - 2 - 2*v**2 + 0*v**2)*(1805 + 2505 - 188 + 496) as j*v**2 + g + w*v and give j.\n'
b'-9236\n'
b'Rearrange 11*c**4 - 6*c**2 + 6*c**2 + (c**3 + 0*c**3 + 0*c**3)*(2*c - 4 + 4)*(-12 - 25 + 7) to the form d + t*c**2 + u*c + p*c**3 + y*c**4 and give y.\n'
b'-49\n'
b'Rearrange -43*r**3 - 347*r + 347*r - 4*r**3 + 6*r - 5*r + 2*r**3 + (4*r**2 + 2*r**2 - 4*r**2)*(2 - 3*r - 2) to the form v*r + y*r**3 + g + q*r**2 and give y.\n'
b'-51\n'
b'Rearrange 0 + u**4 - 2*u**4 - 12809*u - 4*u**2 - u**3 + 12807*u + 1 - 13*u**2 to the form a*u**2 + q*u + h*u**4 + j + v*u**3 and give v.\n'
b'-1\n'
b'Rearrange 4*t**2 + 337 - 32*t + 31*t + 7*t**2 - 13*t**2 to the form i*t**2 + r + z*t and give r.\n'
b'337\n'
b'Rearrange -2*o + 11 - 1 - 8 + (4 - 5*o - 4)*(-3 + 2 - 1) to p*o + x and give x.\n'
b'2\n'
b'Express 5 - 5 - t**3 + (332*t - 332*t - 34*t**2)*(7*t - 1 + 1) as d*t**3 + q*t**2 + b + k*t and give b.\n'
b'0\n'
b'Express -29*q**3 + 0*q**2 - 4 - 116*q**3 + q**2 + 232*q**3 as b*q + k*q**3 + h + f*q**2 and give k.\n'
b'87\n'
b'Rearrange -4 + 7*k**2 - 8*k**2 + 6*k**4 + 5 + 5 + 0*k**2 + 2*k to the form c*k**2 + h*k**4 + i*k**3 + g + u*k and give c.\n'
b'-1\n'
b'Express 1 + 20 - 240*z - 21 as o + g*z and give g.\n'
b'-240\n'
b'Rearrange 172*p + 128*p + 144*p + 150*p to the form k*p + q and give k.\n'
b'594\n'
b'Express (1871 - 1032*h - 1871)*(-2 - 5*h + 0*h + 4*h) in the form a + n*h**2 + z*h and give z.\n'
b'2064\n'
b'Express (-2 + 0 - 2 - 1 + 4 - 4 + (0 + 0 - 1)*(0 - 1 - 1) + (22 - 40 + 47)*(-2 + 2 + 3))*(-3*z + 0*z + 2*z) as b*z + h and give b.\n'
b'-84\n'
b'Express 50*h + 30*h - 5*h + 65*h - 20*h as a*h + m and give a.\n'
b'120\n'
b'Rearrange 2*j**4 + 33 + j + 16 + 34 to the form y*j**3 + c*j**2 + g*j + n + t*j**4 and give t.\n'
b'2\n'
b'Express -3*k**4 + 4*k**2 + 2*k**3 - 5*k**2 + 2*k**4 + 7 + 3*k**4 + 2*k in the form a + z*k**4 + q*k**3 + y*k + l*k**2 and give a.\n'
b'7\n'
b'Express (2 - 5*x - 2)*(5*x - 62 + 50 + 7*x) in the form v*x**2 + p + m*x and give v.\n'
b'-60\n'
b'Express (5*q - 3*q - 6*q)*(-55*q**3 - 88*q**2 + 88*q**2) in the form s*q**2 + x*q**3 + c*q**4 + i*q + f and give c.\n'
b'220\n'
b'Express -4*b + 7*b + 18*b + 8 - 1 as c + r*b and give c.\n'
b'7\n'
b'Express -47*i + 138*i + 127*i + 178*i + 120*i as m + u*i and give u.\n'
b'516\n'
b'Rearrange -63046*z**2 + 63145*z**2 - 2 + 2 to g*z + t + v*z**2 and give v.\n'
b'99\n'
b'Rearrange (3 - 1627*s**2 - s**3 + 1627*s**2 - s)*(43 - 17 - 76) to w + o*s**3 + t*s**2 + b*s and give w.\n'
b'-150\n'
b'Express 2*z + 83*z**2 + 8 - z - 21 + 11 in the form q*z**2 + r*z + c and give r.\n'
b'1\n'
b'Express p**4 - 65 + 3*p + 67 - p**3 + 0*p**3 as i*p**2 + j*p**3 + h*p + m*p**4 + w and give w.\n'
b'2\n'
b'Express (-2 + 5 - 1 + (1 - 4 + 0)*(-1 + 4 - 4) + 19 - 64 + 263 - 72)*(-3*l - 2*l + 3*l) in the form q*l + i and give q.\n'
b'-302\n'
b'Rearrange 48*v - 50*v + 1518*v**2 - 62*v**3 - 1520*v**2 to the form g*v**3 + z*v + b*v**2 + w and give z.\n'
b'-2\n'
b'Rearrange (0*o - 3*o + 2*o)*(-4*o**2 + 3*o**2 + 6*o**2) + (-31*o - 18*o + 8*o)*(-3*o**2 + o**2 + 0*o**2) to w*o**2 + p*o + g*o**3 + c and give w.\n'
b'0\n'
b'Rearrange (0*x**2 - 4*x**2 + 3*x**2)*(1 - 1 + 2*x) + 108*x**3 - 981*x**3 + 212*x**3 to z*x + s*x**3 + w + c*x**2 and give s.\n'
b'-663\n'
b'Rearrange (-5*z + 16*z - 136 + 143)*(-2*z + z - z) to s + k*z**2 + y*z and give y.\n'
b'-14\n'
b'Express (13*p + 10*p - 8*p)*(-3 + 2 - 1) + (-2 + 2 + 3)*(-2*p + p - 4*p) as f + t*p and give t.\n'
b'-45\n'
b'Rearrange -1908*z**2 - 19*z**3 + 1911*z**2 - z**4 + 3*z**3 to d*z**2 + x + v*z**3 + a*z**4 + s*z and give a.\n'
b'-1\n'
b'Rearrange 611*z**4 + 2 + 609*z**4 - 8*z - 2*z**2 - 1223*z**4 - z**3 to the form k*z**3 + l*z**2 + s + m*z + u*z**4 and give m.\n'
b'-8\n'
b'Express -b**2 - 69*b - 73*b - 333 + 142*b as m*b**2 + h*b + k and give m.\n'
b'-1\n'
b'Rearrange -7 - 6*n + 23 - 9 to the form x + p*n and give p.\n'
b'-6\n'
b'Rearrange (-47 + 100 - 45)*(-7*q + q - 10*q - 9*q) to b + o*q and give o.\n'
b'-200\n'
b'Express 7*z**3 - 15*z**2 - 10*z**2 - z**3 + 23*z**2 + 4*z**3 in the form o*z + d*z**2 + m + r*z**3 and give r.\n'
b'10\n'
b'Express -13657 - 1292*p + 13657 in the form o + w*p and give w.\n'
b'-1292\n'
b'Rearrange 2*y - 3*y - y + (-1 + 4 + 0)*(4 - 1 - 2)*(-4 + 4 - y)*(0 - 3 - 1) to the form a*y + z and give a.\n'
b'10\n'
b'Rearrange -68*c**2 - 5*c**2 + 11*c**2 - 16*c**2 to r*c**2 + d*c + h and give r.\n'
b'-78\n'
b'Rearrange -1 + 0 + 3*m**2 + 4 + m + 2*m**4 to the form d*m**3 + x + q*m + h*m**2 + j*m**4 and give h.\n'
b'3\n'
b'Express -5*d**3 + 5*d**3 - 4*d**4 + (-4*d**3 - 2*d**3 - 2*d**3)*(-26 - 24 + 18)*(-4*d + d + 5*d) as q*d**4 + l*d**3 + p*d + m*d**2 + r and give r.\n'
b'0\n'
b'Rearrange -113 + 0*p**2 + 10*p**2 - 3*p**2 - 23*p**2 + p**2 to the form o*p**2 + i*p + z and give o.\n'
b'-15\n'
b'Express 91*f**2 + 23*f**2 - 39*f**2 + (-5*f + f - 11*f)*(-3*f - 3*f + 5*f) as o + w*f**2 + q*f and give o.\n'
b'0\n'
b'Express z**2 + 83 - 601 - 7 in the form q*z + w + u*z**2 and give u.\n'
b'1\n'
b'Rearrange 53*z**4 + 43*z**3 - z**2 - 54*z**4 - 47*z**3 to the form l*z**4 + m*z**3 + h*z**2 + k*z + c and give m.\n'
b'-4\n'
b'Express 4*b - b - b + (3 - 3 - b)*(-7 + 2 + 2) + 380*b - 18*b + 274*b as i + z*b and give z.\n'
b'641\n'
b'Rearrange -293 + 152 - 16*p + 141 + 67*p to the form l*p + i and give l.\n'
b'51\n'
b'Rearrange (-26 - 32 + 69)*(5*t + 8 + 20*t - 10)*(0*t + t - 2*t) to the form s*t + z + g*t**2 and give s.\n'
b'22\n'
b'Rearrange n + 7 + 4 - 4 + 2 - 23 to the form g*n + y and give y.\n'
b'-14\n'
b'Express (-98 - 15*x + 98)*(1526*x - 1526*x + 44*x**2) as i + l*x + b*x**2 + t*x**3 and give t.\n'
b'-660\n'
b'Rearrange -297 + 145 + 152 - 274*d**2 to the form x + t*d + o*d**2 and give o.\n'
b'-274\n'
b'Rearrange 2*k**3 - 4*k**3 + 6*k**3 - 132 - 7*k**3 to the form y*k**3 + d*k**2 + i + l*k and give i.\n'
b'-132\n'
b'Express (205541*p + 7 - 205541*p + 21*p**2)*(2*p - p + 2*p) as c + h*p**3 + w*p + j*p**2 and give h.\n'
b'63\n'
b'Rearrange 64*c**3 + 4 - 67*c**3 + 5*c - 2 + c**2 + (-1 + c + 1)*(3*c**2 + 0*c**2 - 4*c**2) to the form m*c**3 + j*c + n*c**2 + f and give n.\n'
b'1\n'
b'Express -2 - n + 2 - 37*n - 6*n - 27*n + (1 + 2 - 1)*(2 - n - 2) - n + n + n in the form s*n + f and give s.\n'
b'-72\n'
b'Express -243*r**2 - 11*r + 382*r**2 + 3 - 257*r**2 - 3 in the form n + c*r + m*r**2 and give m.\n'
b'-118\n'
b'Rearrange 3 + 3*p + 5*p + 11 - 6*p to the form j*p + m and give j.\n'
b'2\n'
b'Rearrange 2 - 2 - 2*s + (2 - 1 - 7)*(-2*s + s + 2*s) + 11 - 11 + 8*s + (-4 - 1 + 4)*(-3*s + 5*s - 3*s) - s - 2*s + 5*s to k*s + t and give k.\n'
b'3\n'
b'Express (0 - s + 0)*(-55 - 32*s + 15*s + 22*s) in the form o*s**2 + j + z*s and give z.\n'
b'55\n'
b'Rearrange 137*i**2 + 50*i - 52*i + 2*i**4 - i**4 to t*i**3 + p*i**2 + b*i + m + u*i**4 and give u.\n'
b'1\n'
b'Express 7 + 1 - 4*r**4 - 2*r**3 - r**3 - r - 7 in the form y*r + a + z*r**3 + k*r**2 + j*r**4 and give y.\n'
b'-1\n'
b'Rearrange 25*y**2 - 35*y**2 - 2*y**3 + 2*y + 6 + 8*y**2 to the form o*y + d*y**3 + u + j*y**2 and give j.\n'
b'-2\n'
b'Express 4*x - 5*x + 0*x + (2 - 3 - 3)*(-3 + 3 + 2*x + 1) + 13 - 18*x - 13 in the form v + u*x and give u.\n'
b'-27\n'
b'Express (60*o - 3*o - 34*o)*(-3 + o + 3)*(-5*o + 5 - 5) in the form t*o**2 + u + w*o**3 + h*o and give w.\n'
b'-115\n'
b'Express -131 + 2*y + 235 + 184 in the form d*y + i and give d.\n'
b'2\n'
b'Rearrange -3 + 2*x - 3*x - 1 + (30*x - 10*x + 23*x)*(-2 + 6 + 2) to c*x + p and give c.\n'
b'257\n'
b'Express 38*j - 167*j**3 - 6 - 71*j + 35*j + 0 as a + d*j + k*j**2 + m*j**3 and give d.\n'
b'2\n'
b'Rearrange -t - 346*t**2 + 2*t**4 + 13*t**3 + 2*t**4 - 2*t**4 + 344*t**2 - t**4 to r*t**2 + d + s*t + k*t**4 + z*t**3 and give k.\n'
b'1\n'
b'Express (23 + 7*b - 7*b - 5*b)*(0*b + 2*b - 3*b) as v*b + i + p*b**2 and give v.\n'
b'-23\n'
b'Rearrange 46 - 12*m**2 + 37*m**2 - 20*m**2 - 7*m**2 to the form v*m**2 + u + f*m and give u.\n'
b'46\n'
b'Express (-5 + 5 - 2*i)*(-6*i + 85 - 85)*(-i + 2*i - 3*i)*(3 - 4 - 2) in the form q*i**2 + u*i + f*i**3 + m and give f.\n'
b'72\n'
b'Express (-a - a + 3*a)*(-1 + 4 - 1) + 2*a + 7*a - 3*a + (-19*a - 26 + 26)*(0 - 1 + 2 + (4 + 0 - 5)*(-2 - 2 + 6)) as c + s*a and give s.\n'
b'27\n'
b'Express (-5*b**3 + 0*b**3 + 4*b**3)*(3 + b - 3) + 206*b**4 - 292 + 292 as k + x*b + h*b**3 + m*b**2 + p*b**4 and give p.\n'
b'205\n'
b'Express 0*u + u + u - 3 - u + 3 + (0 + 0 + 2)*(-2*u - 6*u + 2*u) + (19 - 13*u - 19)*(1 + 5 - 2) as k*u + n and give n.\n'
b'0\n'
b'Rearrange 130*y**2 - 63*y**2 + 148*y**2 + 35*y**2 to p*y + t*y**2 + g and give t.\n'
b'250\n'
b'Express -7*q - 49*q - 156*q in the form f*q + i and give f.\n'
b'-212\n'
b'Express (-20 + 12 + 10*m + 7)*((-3 + 1 + 4)*(5 + 1 - 12) - 3 - 1 + 1) in the form c*m + r and give c.\n'
b'-150\n'
b'Express -4*l**4 + 42*l + 0*l**2 - 44*l - l**2 + 2*l**3 - 10*l**4 in the form o*l**3 + c + y*l**2 + q*l + m*l**4 and give m.\n'
b'-14\n'
b'Rearrange 10*v + 2*v**3 - 4 - 2*v**3 + 3*v**2 - 7*v - v**3 to i*v + k*v**2 + y*v**3 + n and give i.\n'
b'3\n'
b'Express -226*c + 6*c**2 - 152552 + 152552 in the form i + y*c + s*c**2 and give y.\n'
b'-226\n'
b'Express (-5 + 5 + 14*v)*((-3 - v + 3)*(-2 + 5 - 2) + 0*v + 0*v + 2*v + (v - v - 2*v)*(12 - 1 - 3)) as f + h*v + l*v**2 and give l.\n'
b'-210\n'
b'Rearrange 333 - 667 + 30*h + 330 to v + m*h and give v.\n'
b'-4\n'
b'Rearrange 720*s**3 + 724*s**3 + 4*s + 2 - 1449*s**3 - 19*s**2 to u*s**3 + k*s**2 + m*s + r and give r.\n'
b'2\n'
b'Express (6*m + 56*m + 309*m)*(3 - 3 + 4*m) in the form l*m**2 + v + z*m and give l.\n'
b'1484\n'
b'Rearrange 31*s**2 + 50*s + 44*s + 49*s - 139*s to l*s + c + j*s**2 and give l.\n'
b'4\n'
b'Rearrange (-14 - 8 - 17)*(2*v**2 - 2*v**2 + v**4) to the form a*v**2 + r*v + c*v**3 + k + w*v**4 and give w.\n'
b'-39\n'
b'Rearrange (-13 - 17 - 1)*(-1 - 4 - y + 3)*(5*y - 6*y - 4*y) + (6*y - 3*y - 2*y)*(-2 + 2*y + 2) to k*y**2 + p*y + r and give k.\n'
b'-153\n'
b'Rearrange (48*b - 12*b**3 - 48*b)*(5 - 2 - 1)*(-35*b + 41*b - 39*b) to y + c*b**2 + j*b**4 + d*b**3 + g*b and give j.\n'
b'792\n'
b'Rearrange (-10 - 2 - 15)*(-2 + t + 2)*(-13 + 9 + 9) to n + l*t and give l.\n'
b'-135\n'
b'Express 7*j**4 - j**3 - 321*j**2 + 104*j**2 + 112*j**2 - 13*j + 102*j**2 as f*j**2 + t*j**4 + a*j**3 + n*j + s and give f.\n'
b'-3\n'
b'Express 9*t**2 - 1423*t**3 - t**4 + 0*t + t - 4 - 3*t + 2856*t**3 - 1430*t**3 in the form r*t**2 + h*t**4 + f + c*t**3 + v*t and give h.\n'
b'-1\n'
b'Express (m - 3*m + 4*m)*(4 - 3 + 2) + (5*m - 4*m + m)*(3 + 0 - 1) + (0 + 0 + 2*m)*(-5 - 9 - 1) in the form q + i*m and give i.\n'
b'-20\n'
b'Express -276*z + 166*z + 523*z + 553*z in the form n + p*z and give p.\n'
b'966\n'
b'Rearrange 2 - 12*m + 8 + 17 - 18 to r*m + v and give r.\n'
b'-12\n'
b'Express (-1 + 2*v + 1)*(0*v + 3*v - 7*v + (2*v + 2 - 2)*(5 - 5 - 2)) + v - v - 2*v**2 + (3*v - 4*v - v)*(2*v - 3 + 3) as b + h*v + a*v**2 and give a.\n'
b'-22\n'
b'Express (-41*y - 1 + 10*y - 46*y)*((0*y + 4*y - 3*y)*(4 + 1 + 1) - 4 + 4 - 2*y) in the form w*y**2 + l + r*y and give r.\n'
b'-4\n'
b'Express (-3 - 2 + 1)*(1 - 4 + 5)*(-1 + 2 + 4)*(-2 + 2 + 2*u**3) as b*u + v*u**3 + h + c*u**2 and give v.\n'
b'-80\n'