Infer How To Access The Elements Of An Array Using A Loop