Solution for stream-adventure 3.