<!DOCTYPE html>
<html lang="en">
<head>
<title></title>
<meta charset="UTF-8" />
</head>
<body>
<script>
function read() {
let input = "";
while (!input) {
input = prompt("INPUT: ");
}
return input.charCodeAt(0);
}
let output = "";
function write(char_code) {
output += String.fromCharCode(char_code);
}
function flush() {
console.log(output);
output = "";
}
let index = 0;
let tape = new Array(20000).fill(0);