Problem hidden
This problem was hidden by Editorial Board member probably because it has incorrect language version or invalid test data, or description of the problem is not clear.

EIUPH007 - The largest even number

Given a positive integer N. Find the largest even digits in N.

Input

A single line consists of positive integers N (N <= 10 ^ 18).

Output

A single integer is the result. If there are no even digits, output -1.

Example

Input:
68

Output:
8

© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.