Lol, so I wasn't the first person to try this out, it took me a while to get it working, but this one was acceptet now:
>>+[<[-]+<,----------------------------------------------------
[>-<++++++++++++++++++++++++++++++++++++++++++++++++++++.[-]]
>[>[-]<,--------------------------------------------------
[<++++++++++++++++++++++++++++++++++++++++++++++++++++.>++++++++++++++++++++++++++++++++++++++++++++++++++.>+<[-]]]>]
Sorry, I can't read brainfuck code in a short time.
So what were your ideas? I just had the following idea: I have a loop with input and a test if the input is 4. If no (line 2), it outputs and goes to the next iteration of the loop. If yes, it goes to the inner part (which is no real loop, because he only stays there for one iteration) and takes another input (line 3). If this input is not 2, it outputs this and the last output (line 4). If yes, it ends. Of course, before outputting, it has to correct the numbers, because i subtracted the ASCII codes of 4 or 2 to test, if it was one of those.