Modify the loop to only print out a value if it is scalar