def METHOD_NAME():
    flag = bytearray(b'*****')
    indices = (1, 4, 2, 0, 3)
    # all possible flag characters (may be reduced to uppercase and digits to save time)
    charset = string.printable
    progress('Initializing...')
    solver = Solver(flag)
    for i in indices:
        for ch in charset:
            flag[i] = ord(ch)
            progress(f'Guessing... {flag.decode()}')
            if solver.replay(flag):
                break
        else:
            raise RuntimeError('no match found')
    print(f'\nFlag found!')