class Numeric
def palindrome?
self.to_s == self.to_s.reverse
end
end
p (1..999).to_a.combination(2).map{|(x1, x2)| x1 * x2 }.select(&:palindrome?).max
p Numeric.superclass
Y2xhc3MgTnVtZXJpYwoJZGVmIHBhbGluZHJvbWU/CgkJc2VsZi50b19zID09IHNlbGYudG9fcy5yZXZlcnNlCgllbmQKZW5kCgpwICgxLi45OTkpLnRvX2EuY29tYmluYXRpb24oMikubWFwe3woeDEsIHgyKXwgIHgxICogeDIgfS5zZWxlY3QoJjpwYWxpbmRyb21lPykubWF4CnAgTnVtZXJpYy5zdXBlcmNsYXNz