tile_length = 11
answer = ''
com = 'RRRGGB'
if tile_length % 6 == 1 or tile_length % 6 == 2 or tile_length % 6 == 4:
answer = '-1'
else:
for i in range(tile_length):
answer += com[i % 6]
print(answer)
To embed this project on your website, copy the following code and paste it into your website's HTML: