import random
counts = [1,2,3,4,5,6] * 999
random.shuffle(counts)
roll = True
while roll :
print(counts.pop())
roll = False
def rollagain() :
roll = True
aW1wb3J0IHJhbmRvbQpjb3VudHMgPSBbMSwyLDMsNCw1LDZdICogOTk5CnJhbmRvbS5zaHVmZmxlKGNvdW50cykKcm9sbCA9IFRydWUKd2hpbGUgcm9sbCA6CiAgICBwcmludChjb3VudHMucG9wKCkpCiAgICByb2xsID0gRmFsc2UKZGVmIHJvbGxhZ2FpbigpIDoKICAgIHJvbGwgPSBUcnVl