ajdgg / nonebot-plugin-calc24

nonebot plug-in
MIT License
3 stars 2 forks source link

很好的插件,有一点小建议 #2

Open nansou520 opened 1 month ago

nansou520 commented 1 month ago

可以写成一个群内的人都能猜的那种,互动性会更强一点ovo

ajdgg commented 1 month ago

好的,会考虑的awa

nansou520 commented 1 month ago

想问一下,插件里面的题库,是所有的都有解么(如果不是所有题目都有解为啥不直接随机生成)

ajdgg commented 1 month ago

生成的题是都有解的,因为无解的题会被匹配到然后重新生成,文件里的json文件中是包含所有24点规则内所有无解的题

nansou520 commented 1 month ago

我这整理了一个全部解法,带答案的,不知道你需不需要(网上搜的题库,一共540多个)

calc24_list = [ ([1, 1, 1, 8], "8(1+1+1)=24"),([1, 1, 2, 6], "26(1+1)=24"),([1, 1, 2, 7], "(1+2)(7+1)=24"),([1, 1, 2, 8], "(1+2)81=24"),([1, 1, 2, 9], "(1+2)(9-1)=24"),([1, 1, 2, 10], "2(1+10+1)=24"),([1, 1, 3, 4], "34(1+1)=24"),([1, 1, 3, 5], "(1+3)(5+1)=24"),([1, 1, 3, 6], "(1+3)61=24"),([1, 1, 3, 7], "(1+3)(7-1)=24"),([1, 1, 3, 8], "1+38-1=24"),([1, 1, 3, 9], "13(9-1)=24"),([1, 1, 3, 10], "3(10-1-1)=24"),([1, 1, 4, 4], "4(1+4+1)=24"),([1, 1, 4, 5], "(1+4)5-1=24"),([1, 1, 4, 6], "1+46-1=24"), ([1, 1, 4, 7], "14(7-1)=24"),([1, 1, 4, 8], "(4-1)81=24"),([1, 1, 4, 9], "(4-1)(9-1)=24"),([1, 1, 4, 10], "4+10(1+1)=24"),([1, 1, 5, 5], "(1+5)(5-1)=24"),([1, 1, 5, 6], "(5-1)61=24"),([1, 1, 5, 7], "(5-1)(7-1)=24"),([1, 1, 5, 8], "8(5-1-1)=24"),([1, 1, 6, 6], "(6+6)(1+1)=24"),([1, 1, 6, 8], "68/(1+1)=24"),([1, 1, 6, 9], "6+9(1+1)=24"),([1, 1, 7, 10], "10+7(1+1)=24"),([1, 1, 8, 8], "8+8(1+1)=24"),([1, 2, 2, 4], "24(2+1)=24"),([1, 2, 2, 5], "(2+2)(5+1)=24"),([1, 2, 2, 6], "(2+2)61=24"), ([1, 2, 2, 7], "(2+2)(7-1)=24"),([1, 2, 2, 8], "8(2+2-1)=24"),([1, 2, 2, 9], "2(2+9+1)=24"),([1, 2, 2, 10], "2+2(10+1)=24"),([1, 2, 3, 3], "23(3+1)=24"),([1, 2, 3, 4], "2341=24"),([1, 2, 3, 5], "(2+3)5-1=24"),([1, 2, 3, 6], "3(2+6)1=24"),([1, 2, 3, 7], "2+37+1=24"),([1, 2, 3, 8], "2(3+8+1)=24"),([1, 2, 3, 9], "2(3+9)1=24"),([1, 2, 3, 10], "2(3+10-1)=24"),([1, 2, 4, 4], "(2+4)41=24"),([1, 2, 4, 5], "(2+4)(5-1)=24"),([1, 2, 4, 6], "46(2-1)=24"),([1, 2, 4, 7], "2(4+7+1)=24"),([1, 2, 4, 8], "2(4+8)1=24"), ([1, 2, 4, 9], "2(4+9-1)=24"),([1, 2, 4, 10], "4+2101=24"),([1, 2, 5, 5], "55-2+1=24"),([1, 2, 5, 6], "2(5+6+1)=24"),([1, 2, 5, 7], "2(5+7)1=24"),([1, 2, 5, 8], "2(5+8-1)=24"),([1, 2, 5, 9], "5+29+1=24"),([1, 2, 5, 10], "5+210-1=24"),([1, 2, 6, 6], "2(6+6)1=24"),([1, 2, 6, 7], "2(6+7-1)=24"),([1, 2, 6, 8], "6+2(8+1)=24"),([1, 2, 6, 9], "6+291=24"),([1, 2, 6, 10], "6+2(10-1)=24"),([1, 2, 7, 7], "(77-1)/2=24"),([1, 2, 7, 8], "7+28+1=24"),([1, 2, 7, 9], "27+9+1=24"),([1, 2, 7, 10], "27+101=24"), ([1, 2, 8, 8], "28+81=24"),([1, 2, 8, 9], "28+9-1=24"),([1, 2, 8, 10], "10+2(8-1)=24"),([1, 3, 3, 3], "(3+3)(3+1)=24"),([1, 3, 3, 4], "(3+3)41=24"),([1, 3, 3, 5], "(3+3)(5-1)=24"),([1, 3, 3, 6], "3+3(6+1)=24"),([1, 3, 3, 7], "3+371=24"),([1, 3, 3, 8], "3+3(8-1)=24"),([1, 3, 3, 9], "(3+9)(3-1)=24"),([1, 3, 3, 10], "3(10-3+1)=24"),([1, 3, 4, 4], "3(4+4)1=24"),([1, 3, 4, 5], "3+45+1=24"),([1, 3, 4, 6], "6/(1-3/4)=24"),([1, 3, 4, 7], "4+37-1=24"),([1, 3, 4, 8], "(4+8)(3-1)=24"),([1, 3, 4, 9], "4(9-3)1=24"), ([1, 3, 4, 10], "4+10(3-1)=24"),([1, 3, 5, 6], "5+36+1=24"),([1, 3, 5, 7], "(5+7)(3-1)=24"),([1, 3, 5, 8], "35+8+1=24"),([1, 3, 5, 9], "35+91=24"),([1, 3, 5, 10], "35+10-1=24"),([1, 3, 6, 6], "36+61=24"),([1, 3, 6, 7], "36+7-1=24"),([1, 3, 6, 8], "(6-3)81=24"),([1, 3, 6, 9], "(6-3)(9-1)=24"),([1, 3, 6, 10], "310-61=24"),([1, 3, 7, 7], "(7-3)(7-1)=24"),([1, 3, 7, 8], "8(7-3-1)=24"),([1, 3, 7, 9], "9/3(7+1)=24"),([1, 3, 7, 10], "10+7(3-1)=24"),([1, 3, 8, 8], "8/3(8+1)=24"),([1, 3, 8, 9], "8/391=24"), ([1, 3, 8, 10], "8/3(10-1)=24"),([1, 3, 9, 9], "9/3(9-1)=24"),([1, 3, 9, 10], "3(10+1)-9=24"),([1, 3, 10, 10], "3+10+10+1=24"),([1, 4, 4, 4], "4+4(4+1)=24"),([1, 4, 4, 5], "4+451=24"),([1, 4, 4, 6], "4+4(6-1)=24"),([1, 4, 4, 7], "44+7+1=24"),([1, 4, 4, 8], "44+81=24"),([1, 4, 4, 9], "44+9-1=24"),([1, 4, 4, 10], "4(10-4)1=24"),([1, 4, 5, 5], "4+5(5-1)=24"),([1, 4, 5, 6], "6/(5/4-1)=24"),([1, 4, 5, 7], "47-5+1=24"),([1, 4, 5, 8], "8+4(5-1)=24"),([1, 4, 5, 9], "5(9-4)-1=24"),([1, 4, 5, 10], "4(10-5+1)=24"), ([1, 4, 6, 6], "6+6(4-1)=24"),([1, 4, 6, 7], "6(7-4+1)=24"),([1, 4, 6, 8], "6(8-4)1=24"),([1, 4, 6, 9], "6(9-4-1)=24"),([1, 4, 6, 10], "10(4-1)-6=24"),([1, 4, 7, 7], "(7-4)(7+1)=24"),([1, 4, 7, 8], "(7-4)81=24"),([1, 4, 7, 9], "(7-4)(9-1)=24"),([1, 4, 8, 8], "48-81=24"),([1, 4, 8, 9], "48-9+1=24"),([1, 4, 9, 10], "4+9+10+1=24"),([1, 4, 10, 10], "4+10+101=24"),([1, 5, 5, 5], "5(5-1/5)=24"),([1, 5, 5, 6], "56-5-1=24"),([1, 5, 5, 9], "(9-5)(5+1)=24"),([1, 5, 5, 10], "5(10-5)-1=24"),([1, 5, 6, 6], "56-61=24"), ([1, 5, 6, 7], "56-7+1=24"),([1, 5, 6, 8], "6(8-5+1)=24"),([1, 5, 6, 9], "6(9-5)1=24"),([1, 5, 6, 10], "6(10-5-1)=24"),([1, 5, 7, 8], "8(7-5+1)=24"),([1, 5, 7, 9], "(9-5)(7-1)=24"),([1, 5, 7, 10], "57-10-1=24"),([1, 5, 8, 8], "(8-5)81=24"),([1, 5, 8, 9], "(8-5)(9-1)=24"),([1, 5, 8, 10], "5+8+10+1=24"),([1, 5, 9, 9], "5+9+9+1=24"),([1, 5, 9, 10], "5+9+101=24"),([1, 5, 10, 10], "5+10+10-1=24"),([1, 6, 6, 6], "6(6-1)-6=24"),([1, 6, 6, 8], "6/(1-6/8)=24"),([1, 6, 6, 9], "6(9-6+1)=24"),([1, 6, 6, 10], "6(10-6)1=24"), ([1, 6, 7, 9], "(9-6)(7+1)=24"),([1, 6, 7, 10], "6+7+10+1=24"),([1, 6, 8, 8], "8(8-6+1)=24"),([1, 6, 8, 9], "6+8+9+1=24"),([1, 6, 8, 10], "6+8+101=24"),([1, 6, 9, 9], "6+9+91=24"),([1, 6, 9, 10], "6+9+10-1=24"),([1, 7, 7, 9], "7+7+9+1=24"),([1, 7, 7, 10], "7+7+101=24"),([1, 7, 8, 8], "7+8+8+1=24"),([1, 7, 8, 9], "7+8+91=24"),([1, 7, 8, 10], "7+8+10-1=24"),([1, 7, 9, 9], "7+9+9-1=24"),([1, 7, 9, 10], "(10-7)(9-1)=24"),([1, 8, 8, 8], "8+8+81=24"),([1, 8, 8, 9], "8+8+9-1=24"),([1, 8, 8, 10], "8(10-8+1)=24"), ([2, 2, 2, 3], "(2+2)32=24"),([2, 2, 2, 4], "(2+2)(4+2)=24"),([2, 2, 2, 5], "(2+25)2=24"),([2, 2, 2, 7], "2(27-2)=24"),([2, 2, 2, 8], "(2+2+8)2=24"),([2, 2, 2, 9], "2+(2+9)2=24"),([2, 2, 2, 10], "2+2+102=24"),([2, 2, 3, 3], "2(3+3)2=24"),([2, 2, 3, 4], "3(2+4+2)=24"),([2, 2, 3, 5], "3(25-2)=24"),([2, 2, 3, 6], "(23+6)2=24"),([2, 2, 3, 7], "(2+3+7)2=24"),([2, 2, 3, 8], "2+(3+8)2=24"),([2, 2, 3, 9], "23+92=24"),([2, 2, 3, 10], "2(3+10)-2=24"),([2, 2, 4, 4], "(24+4)2=24"),([2, 2, 4, 5], "2+45+2=24"), ([2, 2, 4, 6], "(2+4+6)2=24"),([2, 2, 4, 7], "2+(4+7)2=24"),([2, 2, 4, 8], "(2+4)8/2=24"),([2, 2, 4, 9], "2+4+92=24"),([2, 2, 4, 10], "2(4+10-2)=24"),([2, 2, 5, 5], "(2+5+5)2=24"),([2, 2, 5, 6], "2+(5+6)2=24"),([2, 2, 5, 7], "25+72=24"),([2, 2, 5, 8], "2(5+8)-2=24"),([2, 2, 5, 9], "2(5+9-2)=24"),([2, 2, 5, 10], "(5-2)(10-2)=24"),([2, 2, 6, 6], "(2+6)6/2=24"),([2, 2, 6, 7], "2(6+7)-2=24"),([2, 2, 6, 8], "2+6+82=24"),([2, 2, 6, 9], "(6/2+9)2=24"),([2, 2, 6, 10], "26+10+2=24"),([2, 2, 7, 7], "2(7+7-2)=24"), ([2, 2, 7, 8], "27+8+2=24"),([2, 2, 7, 10], "2(7+10/2)=24"),([2, 2, 8, 8], "2(8+8/2)=24"),([2, 2, 8, 9], "8+29-2=24"),([2, 2, 8, 10], "28+10-2=24"),([2, 2, 9, 10], "10+(9-2)2=24"),([2, 2, 10, 10], "2+10+10+2=24"),([2, 3, 3, 3], "(3+33)2=24"),([2, 3, 3, 5], "3+3(5+2)=24"),([2, 3, 3, 6], "(3+3+6)2=24"),([2, 3, 3, 7], "3(3+7-2)=24"),([2, 3, 3, 8], "(3+3)8/2=24"),([2, 3, 3, 9], "3+3+92=24"),([2, 3, 3, 10], "3(3+10/2)=24"),([2, 3, 4, 4], "34(4-2)=24"),([2, 3, 4, 5], "(3+4+5)2=24"),([2, 3, 4, 6], "3(4+6-2)=24"), ([2, 3, 4, 7], "4+(3+7)2=24"),([2, 3, 4, 8], "3(4+8/2)=24"),([2, 3, 4, 9], "4(3+9)/2=24"),([2, 3, 4, 10], "34+10+2=24"),([2, 3, 5, 5], "(3+5)(5-2)=24"),([2, 3, 5, 6], "(3+5)6/2=24"),([2, 3, 5, 7], "35+7+2=24"),([2, 3, 5, 8], "3+5+82=24"),([2, 3, 5, 9], "(3+59)/2=24"),([2, 3, 5, 10], "(5-3+10)2=24"),([2, 3, 6, 6], "(36-6)2=24"),([2, 3, 6, 7], "3+67/2=24"),([2, 3, 6, 8], "36+8-2=24"),([2, 3, 6, 9], "(6-3+9)2=24"),([2, 3, 6, 10], "3(6+10)/2=24"),([2, 3, 7, 7], "3+7+72=24"),([2, 3, 7, 8], "(7-3+8)2=24"), ([2, 3, 7, 9], "3(7+9)/2=24"),([2, 3, 7, 10], "7-3+102=24"),([2, 3, 8, 8], "3(8+8)/2=24"),([2, 3, 8, 9], "8(9-32)=24"),([2, 3, 8, 10], "8+10+32=24"),([2, 3, 9, 9], "9-3+92=24"),([2, 3, 9, 10], "3+9+10+2=24"),([2, 3, 10, 10], "10-(3-10)2=24"),([2, 4, 4, 4], "(4+4+4)2=24"),([2, 4, 4, 5], "(4+4)(5-2)=24"),([2, 4, 4, 6], "4+(4+6)2=24"),([2, 4, 4, 7], "4+4(7-2)=24"),([2, 4, 4, 8], "4+4+82=24"),([2, 4, 4, 9], "4(9-2)-4=24"),([2, 4, 4, 10], "4+410/2=24"),([2, 4, 5, 5], "4+(5+5)2=24"),([2, 4, 5, 6], "4+5(6-2)=24"), ([2, 4, 5, 7], "4(5+7)/2=24"),([2, 4, 5, 8], "4+58/2=24"),([2, 4, 5, 9], "(9-5)(4+2)=24"),([2, 4, 5, 10], "4+10+52=24"),([2, 4, 6, 6], "4(6+6)/2=24"),([2, 4, 6, 7], "4+6+72=24"),([2, 4, 6, 8], "6/482=24"),([2, 4, 6, 9], "6+49/2=24"),([2, 4, 6, 10], "(6-4+10)2=24"),([2, 4, 7, 7], "(7+7)2-4=24"),([2, 4, 7, 8], "47-8/2=24"),([2, 4, 7, 9], "(7-4+9)2=24"),([2, 4, 7, 10], "(7-4)(10-2)=24"),([2, 4, 8, 8], "8+48/2=24"),([2, 4, 8, 9], "8(9-4-2)=24"),([2, 4, 8, 10], "4+8+10+2=24"),([2, 4, 9, 9], "4+9+9+2=24"), ([2, 4, 9, 10], "49-10-2=24"),([2, 4, 10, 10], "10(4/10+2)=24"),([2, 5, 5, 7], "5+5+72=24"),([2, 5, 5, 8], "8(5/5+2)=24"),([2, 5, 5, 9], "5+9+52=24"),([2, 5, 5, 10], "(5-2/10)5=24"),([2, 5, 6, 6], "6+6(5-2)=24"),([2, 5, 6, 7], "6(7-5+2)=24"),([2, 5, 6, 8], "56-8+2=24"),([2, 5, 6, 9], "9+65/2=24"),([2, 5, 6, 10], "6/5102=24"),([2, 5, 7, 7], "7+7+52=24"),([2, 5, 7, 8], "8(52-7)=24"),([2, 5, 7, 9], "57-9-2=24"),([2, 5, 7, 10], "5+7+10+2=24"),([2, 5, 8, 8], "(58+8)/2=24"),([2, 5, 8, 9], "5+8+9+2=24"), ([2, 5, 8, 10], "(8-5)(10-2)=24"),([2, 5, 9, 10], "9-5+102=24"),([2, 5, 10, 10], "(10/5+10)2=24"),([2, 6, 6, 6], "6+6+62=24"),([2, 6, 6, 7], "(6+67)/2=24"),([2, 6, 6, 8], "6(8-6+2)=24"),([2, 6, 6, 9], "(69-6)/2=24"),([2, 6, 6, 10], "6+6+10+2=24"),([2, 6, 7, 8], "8(7-6+2)=24"),([2, 6, 7, 9], "6+7+9+2=24"),([2, 6, 7, 10], "(10-7)(6+2)=24"),([2, 6, 8, 8], "6+8+8+2=24"),([2, 6, 8, 9], "8/692=24"),([2, 6, 8, 10], "(8-6+10)2=24"),([2, 6, 9, 9], "(9-6+9)2=24"),([2, 6, 9, 10], "6(9-10/2)=24"), ([2, 6, 10, 10], "6+10+10-2=24"),([2, 7, 7, 8], "7+7+8+2=24"),([2, 7, 7, 10], "7(10/7+2)=24"),([2, 7, 8, 8], "(78-8)/2=24"),([2, 7, 8, 9], "(7+9)2-8=24"),([2, 7, 9, 10], "7+9+10-2=24"),([2, 7, 10, 10], "(10-7)(10-2)=24"),([2, 8, 8, 8], "8(8/8+2)=24"),([2, 8, 8, 9], "8(9-8+2)=24"),([2, 8, 8, 10], "8+8+10-2=24"),([2, 8, 9, 9], "8+9+9-2=24"),([2, 8, 9, 10], "8(10-9+2)=24"),([2, 8, 10, 10], "8(10/10+2)=24"),([2, 9, 10, 10], "9+10+10/2=24"),([3, 3, 3, 3], "333-3=24"),([3, 3, 3, 4], "3+(3+4)3=24"), ([3, 3, 3, 5], "33+53=24"),([3, 3, 3, 6], "3+3+63=24"),([3, 3, 3, 7], "(3+3)(7-3)=24"),([3, 3, 3, 8], "3+38-3=24"),([3, 3, 3, 9], "3(9-3/3)=24"),([3, 3, 3, 10], "3+3(10-3)=24"),([3, 3, 4, 4], "34+43=24"),([3, 3, 4, 5], "3(4+5)-3=24"),([3, 3, 4, 6], "3+46-3=24"),([3, 3, 4, 7], "3(4+7-3)=24"),([3, 3, 4, 8], "(4-3)83=24"),([3, 3, 4, 9], "(3-4+9)3=24"),([3, 3, 5, 5], "55-3/3=24"),([3, 3, 5, 6], "(3+5)(6-3)=24"),([3, 3, 5, 7], "(35-7)3=24"),([3, 3, 5, 9], "(3+5)9/3=24"),([3, 3, 5, 10], "(3-5+10)3=24"), ([3, 3, 6, 6], "3(6+6/3)=24"),([3, 3, 6, 7], "6+37-3=24"),([3, 3, 6, 8], "(3+6)8/3=24"),([3, 3, 6, 9], "3-6+93=24"),([3, 3, 6, 10], "(36-10)3=24"),([3, 3, 7, 7], "7(3/7+3)=24"),([3, 3, 7, 8], "7+8+33=24"),([3, 3, 7, 9], "3+79/3=24"),([3, 3, 8, 8], "8/(3-8/3)=24"),([3, 3, 8, 9], "8(9-3-3)=24"),([3, 3, 8, 10], "3+8+10+3=24"),([3, 3, 9, 9], "3+9+9+3=24"),([3, 3, 9, 10], "3-9+103=24"),([3, 4, 4, 4], "4(4+3)-4=24"),([3, 4, 4, 5], "44+5+3=24"),([3, 4, 4, 6], "(4+4)(6-3)=24"),([3, 4, 4, 7], "(4/4+7)3=24"), ([3, 4, 4, 8], "4+4(8-3)=24"),([3, 4, 4, 9], "(4+4)9/3=24"),([3, 4, 4, 10], "4(10-3)-4=24"),([3, 4, 5, 5], "4+5+53=24"),([3, 4, 5, 6], "6(5-4+3)=24"),([3, 4, 5, 7], "4+5(7-3)=24"),([3, 4, 5, 8], "(4+5)8/3=24"),([3, 4, 5, 9], "(4-5+9)3=24"),([3, 4, 5, 10], "4/5103=24"),([3, 4, 6, 6], "(6-4+6)3=24"),([3, 4, 6, 8], "6(4+8)/3=24"),([3, 4, 6, 9], "(6-4)(9+3)=24"),([3, 4, 6, 10], "4+610/3=24"),([3, 4, 7, 7], "47-7+3=24"),([3, 4, 7, 8], "8+4(7-3)=24"),([3, 4, 7, 9], "4-7+93=24"),([3, 4, 7, 10], "4+7+10+3=24"), ([3, 4, 8, 9], "4+8+9+3=24"),([3, 4, 8, 10], "4(8+10)/3=24"),([3, 4, 9, 9], "4(9+9)/3=24"),([3, 4, 10, 10], "4-10+103=24"),([3, 5, 5, 6], "6(5/5+3)=24"),([3, 5, 5, 7], "(5/5+7)3=24"),([3, 5, 5, 8], "5-5+83=24"),([3, 5, 5, 9], "5(9/5+3)=24"),([3, 5, 6, 6], "(6+6)(5-3)=24"),([3, 5, 6, 7], "(6-5+7)3=24"),([3, 5, 6, 8], "(6-5)83=24"),([3, 5, 6, 9], "(5-6+9)3=24"),([3, 5, 6, 10], "5+6+10+3=24"),([3, 5, 7, 8], "57-8-3=24"),([3, 5, 7, 9], "5+7+9+3=24"),([3, 5, 7, 10], "(5-7+10)3=24"),([3, 5, 8, 8], "5+8+8+3=24"), ([3, 5, 8, 9], "5-8+93=24"),([3, 5, 9, 9], "9+59/3=24"),([3, 5, 9, 10], "9-(5-10)3=24"),([3, 5, 10, 10], "(10-10/5)3=24"),([3, 6, 6, 6], "6+6(6-3)=24"),([3, 6, 6, 7], "(6/6+7)3=24"),([3, 6, 6, 8], "6-6+83=24"),([3, 6, 6, 9], "6+6+9+3=24"),([3, 6, 6, 10], "10(6-3)-6=24"),([3, 6, 7, 7], "6(7/7+3)=24"),([3, 6, 7, 8], "6+7+8+3=24"),([3, 6, 7, 9], "(6-7+9)3=24"),([3, 6, 7, 10], "10+76/3=24"),([3, 6, 8, 8], "68-83=24"),([3, 6, 8, 9], "(8-6)(9+3)=24"),([3, 6, 8, 10], "(6-8+10)3=24"),([3, 6, 9, 9], "6-9+93=24"), ([3, 6, 9, 10], "69-103=24"),([3, 6, 10, 10], "6(10/10+3)=24"),([3, 7, 7, 7], "7+7+7+3=24"),([3, 7, 7, 8], "7-7+83=24"),([3, 7, 7, 9], "(9-7/7)3=24"),([3, 7, 7, 10], "7(10-7)+3=24"),([3, 7, 8, 8], "(7+8/8)3=24"),([3, 7, 8, 9], "(7-8+9)3=24"),([3, 7, 9, 9], "(7+9/9)3=24"),([3, 7, 9, 10], "(7-9+10)3=24"),([3, 7, 10, 10], "7+10+10-3=24"),([3, 8, 8, 8], "(8+8-8)3=24"),([3, 8, 8, 9], "8(9-8)3=24"),([3, 8, 8, 10], "(810-8)/3=24"),([3, 8, 9, 9], "(8+9-9)3=24"),([3, 8, 9, 10], "8+9+10-3=24"), ([3, 8, 10, 10], "(8+10-10)3=24"),([3, 9, 9, 9], "9+9+9-3=24"),([3, 9, 9, 10], "(9+9-10)3=24"),([3, 9, 10, 10], "(9-10/10)3=24"),([4, 4, 4, 4], "4+4+44=24"),([4, 4, 4, 5], "(4/4+5)4=24"),([4, 4, 4, 6], "4+46-4=24"),([4, 4, 4, 7], "(4+4)(7-4)=24"),([4, 4, 4, 8], "4(4+8/4)=24"),([4, 4, 4, 9], "4+4(9-4)=24"),([4, 4, 4, 10], "(44-10)4=24"),([4, 4, 5, 5], "4(5+5-4)=24"),([4, 4, 5, 6], "(5-4)64=24"),([4, 4, 5, 7], "(4-5+7)4=24"),([4, 4, 5, 8], "4+5(8-4)=24"),([4, 4, 5, 10], "4-(5-10)4=24"), ([4, 4, 6, 8], "(4-6+8)4=24"),([4, 4, 6, 9], "4/694=24"),([4, 4, 6, 10], "4+6+10+4=24"),([4, 4, 7, 7], "7(4-4/7)=24"),([4, 4, 7, 8], "47-8+4=24"),([4, 4, 7, 9], "4+7+9+4=24"),([4, 4, 7, 10], "(10-7)(4+4)=24"),([4, 4, 8, 8], "4+8+8+4=24"),([4, 4, 8, 9], "49-8-4=24"),([4, 4, 8, 10], "4+810/4=24"),([4, 4, 10, 10], "(1010-4)/4=24"),([4, 5, 5, 5], "(5+5/5)4=24"),([4, 5, 5, 6], "5-5+64=24"),([4, 5, 5, 7], "(7-5/5)4=24"),([4, 5, 5, 8], "8(4-5/5)=24"),([4, 5, 5, 9], "5(9-5)+4=24"),([4, 5, 5, 10], "5+5+10+4=24"), ([4, 5, 6, 6], "(5+6/6)4=24"),([4, 5, 6, 7], "(5-6+7)4=24"),([4, 5, 6, 8], "8(5-6+4)=24"),([4, 5, 6, 9], "5+6+9+4=24"),([4, 5, 6, 10], "56-10+4=24"),([4, 5, 7, 7], "(5+7/7)4=24"),([4, 5, 7, 8], "5+7+8+4=24"),([4, 5, 7, 9], "7(9-5)-4=24"),([4, 5, 7, 10], "(7-5)10+4=24"),([4, 5, 8, 8], "(5+8/8)4=24"),([4, 5, 8, 9], "(5-8+9)4=24"),([4, 5, 8, 10], "5(8/10+4)=24"),([4, 5, 9, 9], "(5+9/9)4=24"),([4, 5, 9, 10], "(5-9+10)4=24"),([4, 5, 10, 10], "(5+10/10)4=24"),([4, 6, 6, 6], "(6+6-6)4=24"),([4, 6, 6, 7], "6+6(7-4)=24"), ([4, 6, 6, 8], "6+6+8+4=24"),([4, 6, 6, 9], "6+9(6-4)=24"),([4, 6, 6, 10], "6(6+10)/4=24"),([4, 6, 7, 7], "6+7+7+4=24"),([4, 6, 7, 8], "(8-7)64=24"),([4, 6, 7, 9], "6(7+9)/4=24"),([4, 6, 7, 10], "7(10-6)-4=24"),([4, 6, 8, 8], "(6+8-8)4=24"),([4, 6, 8, 9], "6+89/4=24"),([4, 6, 8, 10], "8-(6-10)4=24"),([4, 6, 9, 9], "(6+9-9)4=24"),([4, 6, 9, 10], "(6+910)/4=24"),([4, 6, 10, 10], "(6+10-10)4=24"),([4, 7, 7, 7], "(7-7/7)4=24"),([4, 7, 7, 8], "(7+7-8)4=24"),([4, 7, 8, 8], "(7-8/8)4=24"),([4, 7, 8, 9], "(7+8-9)4=24"), ([4, 7, 8, 10], "10+87/4=24"),([4, 7, 9, 9], "(7-9/9)4=24"),([4, 7, 9, 10], "(7+9-10)4=24"),([4, 7, 10, 10], "(7-10/10)4=24"),([4, 8, 8, 8], "8+88/4=24"),([4, 8, 8, 9], "8(8-9+4)=24"),([4, 8, 8, 10], "(8+8-10)4=24"),([4, 8, 9, 9], "(4-9/9)8=24"),([4, 8, 9, 10], "8(9-10+4)=24"),([4, 8, 10, 10], "8+10+10-4=24"),([4, 9, 9, 10], "9+9+10-4=24"),([5, 5, 5, 5], "55-5/5=24"),([5, 5, 5, 6], "55-6+5=24"),([5, 5, 5, 9], "5+5+9+5=24"),([5, 5, 6, 6], "5(6-6/5)=24"),([5, 5, 6, 7], "6-7+55=24"),([5, 5, 6, 8], "5+6+8+5=24"), ([5, 5, 7, 7], "5+7+7+5=24"),([5, 5, 7, 8], "7-8+55=24"),([5, 5, 7, 10], "(5+7)10/5=24"),([5, 5, 8, 8], "55-8/8=24"),([5, 5, 8, 9], "8-9+55=24"),([5, 5, 8, 10], "8(5+10)/5=24"),([5, 5, 9, 9], "55-9/9=24"),([5, 5, 9, 10], "9-10+55=24"),([5, 5, 10, 10], "55-10/10=24"),([5, 6, 6, 6], "6(5-6/6)=24"),([5, 6, 6, 7], "6+6+7+5=24"),([5, 6, 6, 8], "6+6(8-5)=24"),([5, 6, 6, 9], "69-65=24"),([5, 6, 6, 10], "(6+6)10/5=24"),([5, 6, 7, 7], "(5-7/7)6=24"),([5, 6, 7, 8], "6(7-8+5)=24"),([5, 6, 7, 9], "6+9(7-5)=24"), ([5, 6, 8, 8], "8(6-8+5)=24"),([5, 6, 8, 9], "6(8-9+5)=24"),([5, 6, 8, 10], "68/105=24"),([5, 6, 9, 9], "9-(6-9)5=24"),([5, 6, 9, 10], "6+910/5=24"),([5, 6, 10, 10], "6(10+10)/5=24"),([5, 7, 7, 9], "(9-7)(7+5)=24"),([5, 7, 7, 10], "10+7(7-5)=24"),([5, 7, 8, 8], "(7+8)8/5=24"),([5, 7, 8, 9], "8(7-9+5)=24"),([5, 7, 8, 10], "(10-8)(7+5)=24"),([5, 7, 9, 10], "9-(7-10)5=24"),([5, 7, 10, 10], "10+710/5=24"),([5, 8, 8, 8], "88-85=24"),([5, 8, 8, 9], "89/(8-5)=24"),([5, 8, 8, 10], "8+810/5=24"), ([5, 9, 10, 10], "9+10+10-5=24"),([6, 6, 6, 6], "6+6+6+6=24"),([6, 6, 6, 8], "(6+6-8)6=24"),([6, 6, 6, 9], "6+6(9-6)=24"),([6, 6, 6, 10], "610-66=24"),([6, 6, 7, 9], "(6+7-9)6=24"),([6, 6, 7, 10], "6-(7-10)6=24"),([6, 6, 8, 8], "68/(8-6)=24"),([6, 6, 8, 9], "(8-6)9+6=24"),([6, 6, 8, 10], "(6+8-10)6=24"),([6, 6, 9, 10], "(9-6)10-6=24"),([6, 7, 7, 10], "(7+7-10)6=24"),([6, 7, 8, 9], "8/(9-7)6=24"),([6, 7, 8, 10], "8(7-10+6)=24"),([6, 7, 9, 9], "(7+9)9/6=24"),([6, 7, 10, 10], "(10-7)10-6=24"), ([6, 8, 8, 8], "8+8(8-6)=24"),([6, 8, 8, 9], "(8+8)9/6=24"),([6, 8, 8, 10], "8(8+10)/6=24"),([6, 8, 9, 9], "8(9+9)/6=24"),([6, 8, 9, 10], "9(10-8)+6=24"),([6, 9, 9, 10], "9+910/6=24"),([6, 10, 10, 10], "10+10+10-6=24"),([7, 7, 9, 10], "10+(9-7)7=24"),([7, 8, 8, 9], "8+8(9-7)=24"),([7, 8, 8, 10], "810-87=24"),([7, 8, 9, 10], "89/(10-7)=24"),([7, 8, 10, 10], "10-(8-10)7=24"),([8, 8, 8, 10], "8+8(10-8)=24") ]