https://buuoj.cn/challenges#[QCTF2018]Xman-babymips

r = [82, 253,  22, 164, 137, 189, 146, 128,  19,  65,
     84, 160, 141,  69,  24, 129, 222, 252, 149, 240,
     22, 121,  26,  21,  91, 117,  31,   0]
 
key1 = "Q|j{g"
 
for i in range(len(r)):
    if i % 2 == 0:
        r[i] = ((r[i]>>6) | (r[i]<<2)) & 0xff
    else:
        r[i] = ((r[i]>>2) | (r[i]<<6)) & 0xff
        
key1 += "".join([chr(x) for x in r])
 
for i in range(len(key1)):
    print(chr(ord(key1[i]) ^ (32-i)), end="")