def reverse_by_center(s):
    return s[len(s)//2:]+s[:len(s)//2] if len(s)%2==0 else s[(len(s)//2)+1:]+s[len(s)//2]+s[:len(s)//2]
ed442e698aa1b46c3dad75270ba51f3db94b4355
<mask token>

def reverse_by_center(s):
    return s[len(s) // 2:] + s[:len(s) // 2] if len(s) % 2 == 0 else s[len(
        s) // 2 + 1:] + s[len(s) // 2] + s[:len(s) // 2]

def reverse_by_center(s):
    return s[len(s)//2:]+s[:len(s)//2] if len(s)%2==0 else s[(len(s)//2)+1:]+s[len(s)//2]+s[:len(s)//2]