How do you calculate that three 5S and one 1 are equal to 24

How do you calculate that three 5S and one 1 are equal to 24

5*(5-1/5)