67.bf
edited
1cell 0 is counter and input
2cell 1 is 6
3cell 2 is 7
4
5set up cell 1
654 divided by 6 is 9
7add 9 6 times then move back to cell 0
8++++++[>+++++++++<-]
9
10set up cell 2
1155 divided by 5 is 11
12add 5 11 times
13+++++[>>+++++++++++<<-]
14
15input repeat amt
16,
17
18loop starts
19moves to cell 1 and prints
20moves to cell 2 and prints
21moves back to cell 0
22decrements counter
23repeat until counter is zero
24[>.>.<<-]