	# this is autogenerated!
main:

	li	$v0, 120
	sb	$v0, buf_1 + 0
	li	$v0, 121
	sb	$v0, buf_1 + 1
	li	$v0, 122
	sb	$v0, buf_1 + 2
	li	$v0, 95
	sb	$v0, buf_1 + 3
	li	$v0, 65
	sb	$v0, buf_1 + 4
	li	$v0, 66
	sb	$v0, buf_1 + 5
	li	$v0, 67
	sb	$v0, buf_1 + 6

	# fd_0 = open("my_letters", 1);
	# printf("%s", "open(\"my_letters\", 1) ==> ")
	li	$v0, 4
	la	$a0, string_1
	syscall
	li	$v0, 13
	la	$a0, string_0
	li	$a1, 1
	syscall
	move	$s0, $v0
	# print open() result
	move	$a0, $s0
	li	$v0, 1
	syscall
	# printf("%s", "\n")
	li	$v0, 4
	la	$a0, string_2
	syscall
	# printf("%s", "buf_1: ")
	li	$v0, 4
	la	$a0, string_3
	syscall
	li	$t0, 0
label_0:
	bge	$t0, 7, label_1
	lb	$a0, buf_1($t0)
	li	$v0, 11
syscall
	addi	$t0, $t0, 1
	b	label_0
label_1:
	# printf("%s", "\n")
	li	$v0, 4
	la	$a0, string_2
	syscall
	# write(fd_0, buf_1, 3);
	# printf("%s", "write(")
	li	$v0, 4
	la	$a0, string_4
	syscall
	move	$a0, $s0
	li	$v0, 1
	syscall
	# printf("%s", ", buf_1, 3) ==> ")
	li	$v0, 4
	la	$a0, string_5
	syscall
	li	$v0, 15
	move	$a0, $s0
	la	$a1, buf_1
	li	$a2, 3
	syscall
	# print write() result
	move	$a0, $v0
	li	$v0, 1
	syscall
	# printf("%s", "\n")
	li	$v0, 4
	la	$a0, string_2
	syscall
	# write(fd_0, buf_1 + 4, 3);
	# printf("%s", "write(")
	li	$v0, 4
	la	$a0, string_4
	syscall
	move	$a0, $s0
	li	$v0, 1
	syscall
	# printf("%s", ", buf_1 + 4, 3) ==> ")
	li	$v0, 4
	la	$a0, string_6
	syscall
	li	$v0, 15
	move	$a0, $s0
	la	$a1, buf_1 + 4
	li	$a2, 3
	syscall
	# print write() result
	move	$a0, $v0
	li	$v0, 1
	syscall
	# printf("%s", "\n")
	li	$v0, 4
	la	$a0, string_2
	syscall

	# fd_1 = open("my_letters", 1);
	# printf("%s", "open(\"my_letters\", 1) ==> ")
	li	$v0, 4
	la	$a0, string_1
	syscall
	li	$v0, 13
	la	$a0, string_0
	li	$a1, 1
	syscall
	move	$s1, $v0
	# print open() result
	move	$a0, $s1
	li	$v0, 1
	syscall
	# printf("%s", "\n")
	li	$v0, 4
	la	$a0, string_2
	syscall

	# fd_2 = open("my_letters", 0);
	# printf("%s", "open(\"my_letters\", 0) ==> ")
	li	$v0, 4
	la	$a0, string_7
	syscall
	li	$v0, 13
	la	$a0, string_0
	li	$a1, 0
	syscall
	move	$s2, $v0
	# print open() result
	move	$a0, $s2
	li	$v0, 1
	syscall
	# printf("%s", "\n")
	li	$v0, 4
	la	$a0, string_2
	syscall
	# read(fd_1, buf_2, 5);
	# printf("%s", "read(")
	li	$v0, 4
	la	$a0, string_8
	syscall
	move	$a0, $s1
	li	$v0, 1
	syscall
	# printf("%s", ", buf_2, 5) ==> ")
	li	$v0, 4
	la	$a0, string_9
	syscall
	li	$v0, 14
	move	$a0, $s1
	la	$a1, buf_2
	li	$a2, 5
	syscall
	# print read() result
	move	$a0, $v0
	li	$v0, 1
	syscall
	# printf("%s", "\n")
	li	$v0, 4
	la	$a0, string_2
	syscall
	# read(fd_2, buf_2, 5);
	# printf("%s", "read(")
	li	$v0, 4
	la	$a0, string_8
	syscall
	move	$a0, $s2
	li	$v0, 1
	syscall
	# printf("%s", ", buf_2, 5) ==> ")
	li	$v0, 4
	la	$a0, string_9
	syscall
	li	$v0, 14
	move	$a0, $s2
	la	$a1, buf_2
	li	$a2, 5
	syscall
	# print read() result
	move	$a0, $v0
	li	$v0, 1
	syscall
	# printf("%s", "\n")
	li	$v0, 4
	la	$a0, string_2
	syscall
	# printf("%s", "buf_2: ")
	li	$v0, 4
	la	$a0, string_10
	syscall
	li	$t0, 0
label_2:
	bge	$t0, 7, label_3
	lb	$a0, buf_2($t0)
	li	$v0, 11
syscall
	addi	$t0, $t0, 1
	b	label_2
label_3:
	# printf("%s", "\n")
	li	$v0, 4
	la	$a0, string_2
	syscall

	li	$v0, 88
	sb	$v0, buf_3 + 0
	li	$v0, 89
	sb	$v0, buf_3 + 1
	li	$v0, 90
	sb	$v0, buf_3 + 2
	li	$v0, 95
	sb	$v0, buf_3 + 3
	li	$v0, 97
	sb	$v0, buf_3 + 4
	li	$v0, 98
	sb	$v0, buf_3 + 5
	li	$v0, 99
	sb	$v0, buf_3 + 6
	# printf("%s", "buf_3: ")
	li	$v0, 4
	la	$a0, string_11
	syscall
	li	$t0, 0
label_4:
	bge	$t0, 7, label_5
	lb	$a0, buf_3($t0)
	li	$v0, 11
syscall
	addi	$t0, $t0, 1
	b	label_4
label_5:
	# printf("%s", "\n")
	li	$v0, 4
	la	$a0, string_2
	syscall
	# write(fd_1, buf_3, 7);
	# printf("%s", "write(")
	li	$v0, 4
	la	$a0, string_4
	syscall
	move	$a0, $s1
	li	$v0, 1
	syscall
	# printf("%s", ", buf_3, 7) ==> ")
	li	$v0, 4
	la	$a0, string_12
	syscall
	li	$v0, 15
	move	$a0, $s1
	la	$a1, buf_3
	li	$a2, 7
	syscall
	# print write() result
	move	$a0, $v0
	li	$v0, 1
	syscall
	# printf("%s", "\n")
	li	$v0, 4
	la	$a0, string_2
	syscall
	# read(fd_2, buf_2, 5);
	# printf("%s", "read(")
	li	$v0, 4
	la	$a0, string_8
	syscall
	move	$a0, $s2
	li	$v0, 1
	syscall
	# printf("%s", ", buf_2, 5) ==> ")
	li	$v0, 4
	la	$a0, string_9
	syscall
	li	$v0, 14
	move	$a0, $s2
	la	$a1, buf_2
	li	$a2, 5
	syscall
	# print read() result
	move	$a0, $v0
	li	$v0, 1
	syscall
	# printf("%s", "\n")
	li	$v0, 4
	la	$a0, string_2
	syscall
	# printf("%s", "buf_2: ")
	li	$v0, 4
	la	$a0, string_10
	syscall
	li	$t0, 0
label_6:
	bge	$t0, 7, label_7
	lb	$a0, buf_2($t0)
	li	$v0, 11
syscall
	addi	$t0, $t0, 1
	b	label_6
label_7:
	# printf("%s", "\n")
	li	$v0, 4
	la	$a0, string_2
	syscall
	# close(fd_1);
	# printf("%s", "close(")
	li	$v0, 4
	la	$a0, string_13
	syscall
	move	$a0, $s1
	li	$v0, 1
	syscall
	# printf("%s", ") ==> ")
	li	$v0, 4
	la	$a0, string_14
	syscall
	li	$v0, 16
	move	$a0, $s1
	syscall
	# print close() result
	move	$a0, $v0
	li	$v0, 1
	syscall
	# printf("%s", "\n")
	li	$v0, 4
	la	$a0, string_2
	syscall

	# fd_5 = open("my_bytes", 0);
	# printf("%s", "open(\"my_bytes\", 0) ==> ")
	li	$v0, 4
	la	$a0, string_16
	syscall
	li	$v0, 13
	la	$a0, string_15
	li	$a1, 0
	syscall
	move	$s5, $v0
	# print open() result
	move	$a0, $s5
	li	$v0, 1
	syscall
	# printf("%s", "\n")
	li	$v0, 4
	la	$a0, string_2
	syscall

	# fd_4 = open("my_bytes", 1);
	# printf("%s", "open(\"my_bytes\", 1) ==> ")
	li	$v0, 4
	la	$a0, string_17
	syscall
	li	$v0, 13
	la	$a0, string_15
	li	$a1, 1
	syscall
	move	$s4, $v0
	# print open() result
	move	$a0, $s4
	li	$v0, 1
	syscall
	# printf("%s", "\n")
	li	$v0, 4
	la	$a0, string_2
	syscall

	# fd_5 = open("my_bytes", 0);
	# printf("%s", "open(\"my_bytes\", 0) ==> ")
	li	$v0, 4
	la	$a0, string_16
	syscall
	li	$v0, 13
	la	$a0, string_15
	li	$a1, 0
	syscall
	move	$s5, $v0
	# print open() result
	move	$a0, $s5
	li	$v0, 1
	syscall
	# printf("%s", "\n")
	li	$v0, 4
	la	$a0, string_2
	syscall
	# read(fd_5, buf_5, 10);
	# printf("%s", "read(")
	li	$v0, 4
	la	$a0, string_8
	syscall
	move	$a0, $s5
	li	$v0, 1
	syscall
	# printf("%s", ", buf_5, 10) ==> ")
	li	$v0, 4
	la	$a0, string_18
	syscall
	li	$v0, 14
	move	$a0, $s5
	la	$a1, buf_5
	li	$a2, 10
	syscall
	# print read() result
	move	$a0, $v0
	li	$v0, 1
	syscall
	# printf("%s", "\n")
	li	$v0, 4
	la	$a0, string_2
	syscall

	li	$v0, 0
	sb	$v0, buf_4 + 0
	li	$v0, 1
	sb	$v0, buf_4 + 1
	li	$v0, 24
	sb	$v0, buf_4 + 2
	li	$v0, 254
	sb	$v0, buf_4 + 3
	li	$v0, 255
	sb	$v0, buf_4 + 4
	li	$v0, 12
	sb	$v0, buf_4 + 5
	# printf("%s", "buf_4 (bytes in decimal): ")
	li	$v0, 4
	la	$a0, string_19
	syscall
	li	$t0, 0
label_8:
	bge	$t0, 6, label_9
	lb	$a0, buf_4($t0)
	li	$v0, 1
syscall
	# printf("%s", " ")
	li	$v0, 4
	la	$a0, string_20
	syscall
	addi	$t0, $t0, 1
	b	label_8
label_9:
	# printf("%s", "\n")
	li	$v0, 4
	la	$a0, string_2
	syscall
	# write(fd_4, buf_4, 6);
	# printf("%s", "write(")
	li	$v0, 4
	la	$a0, string_4
	syscall
	move	$a0, $s4
	li	$v0, 1
	syscall
	# printf("%s", ", buf_4, 6) ==> ")
	li	$v0, 4
	la	$a0, string_21
	syscall
	li	$v0, 15
	move	$a0, $s4
	la	$a1, buf_4
	li	$a2, 6
	syscall
	# print write() result
	move	$a0, $v0
	li	$v0, 1
	syscall
	# printf("%s", "\n")
	li	$v0, 4
	la	$a0, string_2
	syscall
	# read(fd_5, buf_5, 3);
	# printf("%s", "read(")
	li	$v0, 4
	la	$a0, string_8
	syscall
	move	$a0, $s5
	li	$v0, 1
	syscall
	# printf("%s", ", buf_5, 3) ==> ")
	li	$v0, 4
	la	$a0, string_22
	syscall
	li	$v0, 14
	move	$a0, $s5
	la	$a1, buf_5
	li	$a2, 3
	syscall
	# print read() result
	move	$a0, $v0
	li	$v0, 1
	syscall
	# printf("%s", "\n")
	li	$v0, 4
	la	$a0, string_2
	syscall
	# printf("%s", "buf_5 (bytes in decimal): ")
	li	$v0, 4
	la	$a0, string_23
	syscall
	li	$t0, 0
label_10:
	bge	$t0, 3, label_11
	lb	$a0, buf_5($t0)
	li	$v0, 1
syscall
	# printf("%s", " ")
	li	$v0, 4
	la	$a0, string_20
	syscall
	addi	$t0, $t0, 1
	b	label_10
label_11:
	# printf("%s", "\n")
	li	$v0, 4
	la	$a0, string_2
	syscall
	# read(fd_5, buf_5, 2);
	# printf("%s", "read(")
	li	$v0, 4
	la	$a0, string_8
	syscall
	move	$a0, $s5
	li	$v0, 1
	syscall
	# printf("%s", ", buf_5, 2) ==> ")
	li	$v0, 4
	la	$a0, string_24
	syscall
	li	$v0, 14
	move	$a0, $s5
	la	$a1, buf_5
	li	$a2, 2
	syscall
	# print read() result
	move	$a0, $v0
	li	$v0, 1
	syscall
	# printf("%s", "\n")
	li	$v0, 4
	la	$a0, string_2
	syscall
	# printf("%s", "buf_5 (bytes in decimal): ")
	li	$v0, 4
	la	$a0, string_23
	syscall
	li	$t0, 0
label_12:
	bge	$t0, 3, label_13
	lb	$a0, buf_5($t0)
	li	$v0, 1
syscall
	# printf("%s", " ")
	li	$v0, 4
	la	$a0, string_20
	syscall
	addi	$t0, $t0, 1
	b	label_12
label_13:
	# printf("%s", "\n")
	li	$v0, 4
	la	$a0, string_2
	syscall

	# fd_6 = open("my_bytes", 1);
	# printf("%s", "open(\"my_bytes\", 1) ==> ")
	li	$v0, 4
	la	$a0, string_17
	syscall
	li	$v0, 13
	la	$a0, string_15
	li	$a1, 1
	syscall
	move	$s6, $v0
	# print open() result
	move	$a0, $s6
	li	$v0, 1
	syscall
	# printf("%s", "\n")
	li	$v0, 4
	la	$a0, string_2
	syscall

	li	$v0, 42
	sb	$v0, buf_1 + 0
	li	$v0, 43
	sb	$v0, buf_1 + 1
	li	$v0, 44
	sb	$v0, buf_1 + 2
	li	$v0, 45
	sb	$v0, buf_1 + 3
	li	$v0, 46
	sb	$v0, buf_1 + 4
	li	$v0, 47
	sb	$v0, buf_1 + 5
	li	$v0, 48
	sb	$v0, buf_1 + 6
	li	$v0, 49
	sb	$v0, buf_1 + 7
	li	$v0, 50
	sb	$v0, buf_1 + 8
	li	$v0, 51
	sb	$v0, buf_1 + 9
	# printf("%s", "buf_1 (bytes in decimal): ")
	li	$v0, 4
	la	$a0, string_25
	syscall
	li	$t0, 0
label_14:
	bge	$t0, 10, label_15
	lb	$a0, buf_1($t0)
	li	$v0, 1
syscall
	# printf("%s", " ")
	li	$v0, 4
	la	$a0, string_20
	syscall
	addi	$t0, $t0, 1
	b	label_14
label_15:
	# printf("%s", "\n")
	li	$v0, 4
	la	$a0, string_2
	syscall
	# write(fd_6, buf_1, 10);
	# printf("%s", "write(")
	li	$v0, 4
	la	$a0, string_4
	syscall
	move	$a0, $s6
	li	$v0, 1
	syscall
	# printf("%s", ", buf_1, 10) ==> ")
	li	$v0, 4
	la	$a0, string_26
	syscall
	li	$v0, 15
	move	$a0, $s6
	la	$a1, buf_1
	li	$a2, 10
	syscall
	# print write() result
	move	$a0, $v0
	li	$v0, 1
	syscall
	# printf("%s", "\n")
	li	$v0, 4
	la	$a0, string_2
	syscall
	# read(fd_5, buf_5, 5);
	# printf("%s", "read(")
	li	$v0, 4
	la	$a0, string_8
	syscall
	move	$a0, $s5
	li	$v0, 1
	syscall
	# printf("%s", ", buf_5, 5) ==> ")
	li	$v0, 4
	la	$a0, string_27
	syscall
	li	$v0, 14
	move	$a0, $s5
	la	$a1, buf_5
	li	$a2, 5
	syscall
	# print read() result
	move	$a0, $v0
	li	$v0, 1
	syscall
	# printf("%s", "\n")
	li	$v0, 4
	la	$a0, string_2
	syscall
	# printf("%s", "buf_5 (bytes in decimal): ")
	li	$v0, 4
	la	$a0, string_23
	syscall
	li	$t0, 0
label_16:
	bge	$t0, 5, label_17
	lb	$a0, buf_5($t0)
	li	$v0, 1
syscall
	# printf("%s", " ")
	li	$v0, 4
	la	$a0, string_20
	syscall
	addi	$t0, $t0, 1
	b	label_16
label_17:
	# printf("%s", "\n")
	li	$v0, 4
	la	$a0, string_2
	syscall
	# write(fd_4, buf_1 + 3, 6);
	# printf("%s", "write(")
	li	$v0, 4
	la	$a0, string_4
	syscall
	move	$a0, $s4
	li	$v0, 1
	syscall
	# printf("%s", ", buf_1 + 3, 6) ==> ")
	li	$v0, 4
	la	$a0, string_28
	syscall
	li	$v0, 15
	move	$a0, $s4
	la	$a1, buf_1 + 3
	li	$a2, 6
	syscall
	# print write() result
	move	$a0, $v0
	li	$v0, 1
	syscall
	# printf("%s", "\n")
	li	$v0, 4
	la	$a0, string_2
	syscall
	# read(fd_5, buf_5, 10);
	# printf("%s", "read(")
	li	$v0, 4
	la	$a0, string_8
	syscall
	move	$a0, $s5
	li	$v0, 1
	syscall
	# printf("%s", ", buf_5, 10) ==> ")
	li	$v0, 4
	la	$a0, string_18
	syscall
	li	$v0, 14
	move	$a0, $s5
	la	$a1, buf_5
	li	$a2, 10
	syscall
	# print read() result
	move	$a0, $v0
	li	$v0, 1
	syscall
	# printf("%s", "\n")
	li	$v0, 4
	la	$a0, string_2
	syscall
	# printf("%s", "buf_5 (bytes in decimal): ")
	li	$v0, 4
	la	$a0, string_23
	syscall
	li	$t0, 0
label_18:
	bge	$t0, 10, label_19
	lb	$a0, buf_5($t0)
	li	$v0, 1
syscall
	# printf("%s", " ")
	li	$v0, 4
	la	$a0, string_20
	syscall
	addi	$t0, $t0, 1
	b	label_18
label_19:
	# printf("%s", "\n")
	li	$v0, 4
	la	$a0, string_2
	syscall
	# close(fd_5);
	# printf("%s", "close(")
	li	$v0, 4
	la	$a0, string_13
	syscall
	move	$a0, $s5
	li	$v0, 1
	syscall
	# printf("%s", ") ==> ")
	li	$v0, 4
	la	$a0, string_14
	syscall
	li	$v0, 16
	move	$a0, $s5
	syscall
	# print close() result
	move	$a0, $v0
	li	$v0, 1
	syscall
	# printf("%s", "\n")
	li	$v0, 4
	la	$a0, string_2
	syscall

	# fd_2 = open("my_letters", 0);
	# printf("%s", "open(\"my_letters\", 0) ==> ")
	li	$v0, 4
	la	$a0, string_7
	syscall
	li	$v0, 13
	la	$a0, string_0
	li	$a1, 0
	syscall
	move	$s2, $v0
	# print open() result
	move	$a0, $s2
	li	$v0, 1
	syscall
	# printf("%s", "\n")
	li	$v0, 4
	la	$a0, string_2
	syscall
	# read(fd_2, buf_5, 10);
	# printf("%s", "read(")
	li	$v0, 4
	la	$a0, string_8
	syscall
	move	$a0, $s2
	li	$v0, 1
	syscall
	# printf("%s", ", buf_5, 10) ==> ")
	li	$v0, 4
	la	$a0, string_18
	syscall
	li	$v0, 14
	move	$a0, $s2
	la	$a1, buf_5
	li	$a2, 10
	syscall
	# print read() result
	move	$a0, $v0
	li	$v0, 1
	syscall
	# printf("%s", "\n")
	li	$v0, 4
	la	$a0, string_2
	syscall
	# printf("%s", "buf_5 (bytes in decimal): ")
	li	$v0, 4
	la	$a0, string_23
	syscall
	li	$t0, 0
label_20:
	bge	$t0, 10, label_21
	lb	$a0, buf_5($t0)
	li	$v0, 1
syscall
	# printf("%s", " ")
	li	$v0, 4
	la	$a0, string_20
	syscall
	addi	$t0, $t0, 1
	b	label_20
label_21:
	# printf("%s", "\n")
	li	$v0, 4
	la	$a0, string_2
	syscall
	# close(fd_2);
	# printf("%s", "close(")
	li	$v0, 4
	la	$a0, string_13
	syscall
	move	$a0, $s2
	li	$v0, 1
	syscall
	# printf("%s", ") ==> ")
	li	$v0, 4
	la	$a0, string_14
	syscall
	li	$v0, 16
	move	$a0, $s2
	syscall
	# print close() result
	move	$a0, $v0
	li	$v0, 1
	syscall
	# printf("%s", "\n")
	li	$v0, 4
	la	$a0, string_2
	syscall
	# close(fd_2);
	# printf("%s", "close(")
	li	$v0, 4
	la	$a0, string_13
	syscall
	move	$a0, $s2
	li	$v0, 1
	syscall
	# printf("%s", ") ==> ")
	li	$v0, 4
	la	$a0, string_14
	syscall
	li	$v0, 16
	move	$a0, $s2
	syscall
	# print close() result
	move	$a0, $v0
	li	$v0, 1
	syscall
	# printf("%s", "\n")
	li	$v0, 4
	la	$a0, string_2
	syscall
	li	$v0, 10
	syscall

.data
string_0:
	.asciiz	"my_letters"
string_1:
	.asciiz	"open(\"my_letters\", 1) ==> "
string_2:
	.asciiz	"\n"
string_3:
	.asciiz	"buf_1: "
string_4:
	.asciiz	"write("
string_5:
	.asciiz	", buf_1, 3) ==> "
string_6:
	.asciiz	", buf_1 + 4, 3) ==> "
string_7:
	.asciiz	"open(\"my_letters\", 0) ==> "
string_8:
	.asciiz	"read("
string_9:
	.asciiz	", buf_2, 5) ==> "
string_10:
	.asciiz	"buf_2: "
string_11:
	.asciiz	"buf_3: "
string_12:
	.asciiz	", buf_3, 7) ==> "
string_13:
	.asciiz	"close("
string_14:
	.asciiz	") ==> "
string_15:
	.asciiz	"my_bytes"
string_16:
	.asciiz	"open(\"my_bytes\", 0) ==> "
string_17:
	.asciiz	"open(\"my_bytes\", 1) ==> "
string_18:
	.asciiz	", buf_5, 10) ==> "
string_19:
	.asciiz	"buf_4 (bytes in decimal): "
string_20:
	.asciiz	" "
string_21:
	.asciiz	", buf_4, 6) ==> "
string_22:
	.asciiz	", buf_5, 3) ==> "
string_23:
	.asciiz	"buf_5 (bytes in decimal): "
string_24:
	.asciiz	", buf_5, 2) ==> "
string_25:
	.asciiz	"buf_1 (bytes in decimal): "
string_26:
	.asciiz	", buf_1, 10) ==> "
string_27:
	.asciiz	", buf_5, 5) ==> "
string_28:
	.asciiz	", buf_1 + 3, 6) ==> "
buf_1:
	.byte 42:10
buf_2:
	.byte 42:10
buf_3:
	.byte 42:10
buf_4:
	.byte 42:10
buf_5:
	.byte 42:10
buf_6:
	.byte 42:10
