Please provide a specification for the given Problem.
From the description it is not clear what has to be done in order to pass all tests.
URL from: http://www.checkio.org/mission/end-of-other/solve/
HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.117 Safari/537.36
Created at: Feb. 22, 2014, 7:12 p.m.; Updated at: Feb. 23, 2014, 8:42 p.m.