val result
= (for (i1
<- range
; i2
<- range
) yield i1
* i2
) .filter(i => i.toString == i.toString.reverse)
.max
println(result)
}
b2JqZWN0IE1haW4gZXh0ZW5kcyBBcHAgewogIHZhbCByYW5nZSA9ICgwIHRvIDk5OSkKICB2YWwgcmVzdWx0ID0gKGZvciAoaTEgPC0gcmFuZ2U7IGkyIDwtIHJhbmdlKSB5aWVsZCBpMSAqIGkyKQogICAgLmZpbHRlcihpID0+IGkudG9TdHJpbmcgPT0gaS50b1N0cmluZy5yZXZlcnNlKQogICAgLm1heAogIHByaW50bG4ocmVzdWx0KQp9