Problems: self-repeating flow

According to the forum rules, the same question (even in a different language) is not allowed.