Where may the problem be? 8A

Правка en1, от TestTrial, 2020-10-18 05:46:14

I've spent quite some time figuring out why is it that for problem (8A - Train and Peter), instead of "forward" at test 14, my output is "both", but to no avail. Since the entire string is hidden and I am shown just a part of it, it's quite hard to understand where the mistake could be. Here is my submission: 95835050. Thank you in advance.

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en3 Английский TestTrial 2020-10-18 06:51:13 69
en2 Английский TestTrial 2020-10-18 05:49:27 20
en1 Английский TestTrial 2020-10-18 05:46:14 376 Initial revision (published)