Solution to the first problem of the Prologin 2012 selections in Brainfuck (shaped)
,,----------[,[-]],>-[<->-----]<+++>,-------
---[>+++[<->-------]<-<[->>+<<]>>[-<<+++++++
+++>>]<[-<+> ],[-]],>-[<->-----]<+++>,[-]
,>-[<->---- -]<+++>,------ ----[>+
++[<->---- ---]<-<[->> +<<]
>>[-<<+++ +++++++>>] <[ -<+>
]]<<-[>> >+[<+>+++ ++]<-- .[
-]+<<-] > >-[+>--[ <+>+++] <+
++++[> >+ <<-]+<[>>>-<+<<-]> >[<<
+>>-] >[< <->>[-]]<<[>+>++++ +>>>
+<<< <<<< <[>>>>>>+>+<<<<< <<-]>>
>>> >>[<< <<<<<+>>>>>>>-]< <[>>+<
<- ]>>[>- ]>[<<<+>[-]>>- >]<+<<[>
-[ >-]>[<< <+>[-]+>>->]<+ <<-]<[->
+< >>+[<<+> >+++++]<<-
-. [-]]>-[> [-]+[<+>++
+++]<--.[-]] <<<[-]]>-[ +>--[<+>+++]
<+++++>>>+<< <<<[>>>+>+ <<<<-]>>>[<<
<+>>>-]<[>+< -]+>>[>-] >[<<
<->[-]>>->]< +<<[>-[> -]>[
<<<->[-]+>>->]<+<<-]<[>+[<+>+++++]<---.>+<[-
]]>-[>+[<+>+++++]<--.[-]][-]][-]]++++++++++.