import java.util.* ;
import java.lang.* ;
class Main
{
{
String str
= "quick brown fox jumps over the lazy dog" ; List< String> res = new ArrayList< String> ( ) ;
String [ ] tok
= str.
split ( " " ) ; for ( int i = tok.length - 1 ; i >= 0 ; i-- ) {
if ( last == null ) {
last = tok[ i] ;
} else {
last = tok[ i] + " " + last;
}
res.add ( last) ;
}
}
}
}
aW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CgpjbGFzcyBNYWluCnsKCXB1YmxpYyBzdGF0aWMgdm9pZCBtYWluIChTdHJpbmdbXSBhcmdzKSB0aHJvd3MgamF2YS5sYW5nLkV4Y2VwdGlvbgoJewoJCVN0cmluZyBzdHIgPSAicXVpY2sgYnJvd24gZm94IGp1bXBzIG92ZXIgdGhlIGxhenkgZG9nIjsKICAgICAgICBMaXN0PFN0cmluZz4gcmVzID0gbmV3IEFycmF5TGlzdDxTdHJpbmc+KCk7CiAgICAgICAgU3RyaW5nIGxhc3QgPSBudWxsOwogICAgICAgIFN0cmluZ1tdIHRvayA9IHN0ci5zcGxpdCgiICIpOwogICAgICAgIGZvciAoaW50IGkgPSB0b2subGVuZ3RoLTEgOyBpID49IDAgOyBpLS0pIHsKICAgICAgICAgICAgaWYgKGxhc3QgPT0gbnVsbCkgewogICAgICAgICAgICAgICAgbGFzdCA9IHRva1tpXTsKICAgICAgICAgICAgfSBlbHNlIHsKICAgICAgICAgICAgICAgIGxhc3QgPSB0b2tbaV0gKyAiICIgKyBsYXN0OwogICAgICAgICAgICB9CiAgICAgICAgICAgIHJlcy5hZGQobGFzdCk7CiAgICAgICAgfQogICAgICAgIGZvciAoU3RyaW5nIHMgOiByZXMpIHsKICAgICAgICAgICAgU3lzdGVtLm91dC5wcmludGxuKHMpOwogICAgICAgIH0KCX0KfQ==