Tried do, while and for loops - to no avail.