local girls = 0; local array = {25, 23, 18, 16, 22, 19, 20, 21, 24, 17}; for key, value in pairs(array) do girls = girls + (value/100)*60; end print(girls);