def up_c(r):
    rt = [9, 21, 33, 34, 35, 23, 11, 10]
    rotate(r, rt)
    L = [0, 3, 6, 12, 24, 36, 45, 48, 51, 18, 30, 42]
    return shift(r, L)
def up_c(r):
    rt = [9, 21, 33, 34, 35, 23, 11, 10]
    rotate(r, rt)
    L = [0, 3, 6, 12, 24, 36, 45, 48, 51, 18, 30, 42]
    return shift(r, L)