def brainfuck_decrypt(code): # Bellek (beyin) ve göstergeler memory = [0] * 30000 pointer = 0 code_pointer = 0 output = [] input_buffer = [] # Döngü başlangıç ve bitiş konumları loop_stack = [] loop_map = {} # Döngü başlangıç ve bitiş yerlerini haritalama while code_pointer < len(code): command = code[code_pointer] if command == '[': loop_stack.append(code_pointer) elif command == ']': start = loop_stack.pop() loop_map[start] = code_pointer loop_map[code_pointer] = start code_pointer += 1 code_pointer = 0 while code_pointer < len(code): command = code[code_pointer] if command == '>': pointer += 1 elif command == '<': pointer -= 1 elif command == '+': memory[pointer] = (memory[pointer] + 1) % 256 elif command == '-': memory[pointer] = (memory[pointer] - 1) % 256 elif command == '.': output.append(chr(memory[pointer])) elif command == ',': if input_buffer: memory[pointer] = ord(input_buffer.pop(0)) else: memory[pointer] = 0 elif command == '[': if memory[pointer] == 0: code_pointer = loop_map[code_pointer] elif command == ']': if memory[pointer] != 0: code_pointer = loop_map[code_pointer] code_pointer += 1 return ''.join(output) # Verilen Brainfuck kodu brainfuck_code = ">+++++++++++[<++++++++++>-]<[-]>++++++++[<++++++>-]<[-]>++++++++[<++++++>-]<[-]>++++++++++++++[<+++++++>-]<[-]>+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++[<++>-]<[-]>+++++++++++++++++++++++++++++++++++++++++[<+++>-]<[-]>+++++++[<+++++++>-]<[-]>+++++++++++++++++++[<+++++>-]<[-]>+++++++++++[<+++++++++>-]<[-]>+++++++++++++[<++++>-]<[-]>+++++++++++[<++++++++++>-]<[-]>+++++++++++++++++++[<+++++>-]<[-]>+++++++++++[<+++++++++>-]<[-]>++++++++[<++++++>-]<[-]>++++++++++[<++++++++++>-]<[-]>+++++++++++++++++[<+++>-]<[-]>+++++++++++++++++++[<+++++>-]<[-]>+++++++[<+++++++>-]<[-]>+++++++++++[<++++++++++>-]<[-]>+++++++++++++++++++[<+++++>-]<[-]>++++++++++++++[<+++++++>-]<[-]>+++++++++++++++++++[<++++++>-]<[-]>+++++++++++++[<++++>-]<[-]>+++++++[<+++++++>-]<[-]>+++++++++++[<++++++++++>-]<[-]>+++++++++++++++++[<++++++>-]<[-]>+++++++[<++++++>-]<[-]>+++++++++++[<+++++++++>-]<[-]>+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++[<+>-]<[-]>+++++++++++[<+++>-]<[-]>+++++++++++++++++++++++++[<+++++>-]<[-]" decoded_message = brainfuck_decrypt(brainfuck_code) print(decoded_message)