The beach of rice grains