Ten random numbers task solved