Trace the program the way the computer would, then make your call before running anything.
print('cloud' * 3)