Max of the reversed of two numbers Given two real numbers (postive or negative) in the limits of float pointing number data types, i.e., (\$-3.4e38\$ to \$3.4e38\$) not inclusive, you should output the max of the two reversed numbers.



TEST CASES

Example

Input:

135
210


Output:

531


\$531\$ is \$135\$ reversed, which is greater than \$012\$, i.e., \$210\$ reversed.



Negative numbers are allowed:

Example 2

Input:

-135
-210


Output:

-012


\$-012\$ is \$-210\$ reversed, which is greater than \$-531\$, i.e., \$-135\$ reversed.



Real numbers are allowed:

Example 3

Input:

13.5
10


Output:

5.31


\$5.31\$ is \$13.5\$ reversed, which is greater than \$01\$, i.e., \$10\$ reversed.



Example 4

Input:

-1112313.5
-312.5671


Output:

-5.3132111


\$-5.3132111\$ is \$-1112313.5\$ reversed (it reverses the number but is still negative, which is greater than \$-1765.213\$, i.e., \$-312.5671\$ reversed.



Example 5

Input:

0.0000001
0


Output:

1000000.0


\$1000000.0\$ is \$0.0000001\$ reversed, which is greater than \$0\$, i.e., still \$0\$ reversed.



Example 6

Input:

121
121


Output:

121


Both numbers are equal and are palindrome. Either one is correct.



Rules


Standard loopholes apply
This is code-golf, so the shortest program in bytes wins.




Good Luck!
Wren, 126 124 bytes

As always Wren is the longest. I hate Wren's verbosity.

Fn.new{|a|a.map{|i|i&gt;0?"":"-"+(i.abs.toString[-1..-(i.abs.toString.count)])}.map{|i|Num.fromString(i)}.reduce{|x,y|x&lt;y?x:y}}


Try it online!

Explanation

Fn.new{                                                                                                              // new anonymous function
       |a|                                                                                                           // with the parameter a
          a.map{|i|                                                                                                  // for each item in this parameter
                                  (i&gt;0)?"":"-"                                                                       // The sign of each item. If the item is larger than 0, return the null string, otherwise return a negative sign.
                                              +(                                           )                         // Append this with the following string:
                                                i.abs                                                                // The absolute value of i
                                                     .toString                                                       // Convert this value to a string
                                                              [-1..-(i.abs.toString.count)]                          // Reverse this string
                   Num.fromString(                                                          )                        // convert this to a number from a string
                                                                                             }.reduce{|x,y|x&lt;y?x:y}} // Find the minimum value of the list