Integer Expression Expected Error When Trying To Run A Command On Each

Integer Expression Expected Error When Trying To Run A Command On Each