1: (5 + 7 - 8) × 6
2: ((5 + 7) - 8) × 6
3: (5 + (7 - 8)) × 6
4: (5 + 7) × (8 - 6)
5: (5 - 8 + 7) × 6
6: ((5 - 8) + 7) × 6
7: (5 - (8 - 7)) × 6
8: 6 × (5 + 7 - 8)
9: 6 × ((5 + 7) - 8)
10: 6 × (5 + (7 - 8))
11: 6 × (5 - 8 + 7)
12: 6 × ((5 - 8) + 7)
13: 6 × (5 - (8 - 7))
14: 6 × (7 + 5 - 8)
15: 6 × ((7 + 5) - 8)
16: 6 × (7 + (5 - 8))
17: (6 ÷ (7 - 5)) × 8
18: 6 ÷ (7 - 5) × 8
19: 6 ÷ ((7 - 5) ÷ 8)
20: 6 × (7 - 8 + 5)
21: 6 × ((7 - 8) + 5)
22: 6 × (7 - (8 - 5))
23: 6 × (8 ÷ (7 - 5))
24: 6 × 8 ÷(7 - 5)
25: (6 × 8) ÷ (7 - 5)
26: (7 + 5 - 8) × 6
27: ((7 + 5) - 8) × 6
28: (7 + (5 - 8)) × 6
29: (7 + 5) × (8 - 6)
30: (7 - 8 + 5) × 6
31: ((7 - 8) + 5) × 6
32: (7 - (8 - 5)) × 6
33: (8 - 6) × (5 + 7)
34: (8 - 6) × (7 + 5)
35: 8 × (6 ÷ (7 - 5))
36: 8 × 6 ÷(7 - 5)
37: (8 × 6) ÷ (7 - 5)
38: (8 ÷ (7 - 5)) × 6
39: 8 ÷ (7 - 5) × 6
40: 8 ÷ ((7 - 5) ÷ 6)