How to calculate 24 o'clock from 3, 7, 1 and 8? I solved (7-3-1) * 8

How to calculate 24 o'clock from 3, 7, 1 and 8? I solved (7-3-1) * 8

|3-7+1|*8