al posto di while (true) metti un for (int i=0; i<20; i++)