Elizabeth has a box of shirts. 1/2 of the shirts are small,2/5 of the shirts are medium, and 5 shirts are large. How many shirst are in the box?

0.5x + 0.4x + 5 = x

0.9x + 5 = x
5 = 0.1x
50 = x