Strings and for loops