Nico bought 7 apples. 5 of them were green apples. What fraction of the apples was green?