Hello, I am kwout, welcome to my website.
for i in instructions:
s2[int(i[5])-1] += s2[int(i[3])-1][-int(i[1]):]
for j in range(int(i[1])):
s[int(i[5])-1].append(s[int(i[3])-1].pop())
s2[int(i[3])-1].pop()