What did the people in the Olympics wear?

In the ancient Olympics they almost wore nothing at all just a waist cloth that dangles down to cover i think..