# MAGIC PRIME

Limits 1s, 64 MB

Once upon a time, in a land far, far away, there was an enchanting ICPC contest. The contest organizers were fascinated by the magic of prime numbers. They devised a challenge involving prime factored numbers!

In this enchanted world, they provided two arrays of size $n$, $a$ and $b$, where $a = [a_1, a_2, a_3, … a_n]$ and $b = [b_1, b_2, b_3, … b_n]$ These arrays held the secret to a powerful number. The original number was conjured using the formula:

${a_1}^{b_1} * {a_2} ^ {b_2} * {a_3}^{b_3}... {a_n}^{b_n}$

But wait, there was more! The enchanters also provided another magical number, $MOD$. They needed a spell to find the result of the given number modulo $MOD$.

Help them to find the parity and count of digits of the number of divisors of the number.

Look at the sample output for more clarification.

## Input

The mystical input includes the following:

First line contains an integer $n$ — representing the size of the arrays.

Second line contains $n$ space-separated prime integers $a_1, a_2, a_2 … a_n$ — epresenting the base of the prime factors.

Third line contains $n$ space-separated integers $b_1, b_2, b_3, … b_n$ — representing the exponent of the prime factors.

Last line contains a prime integer $MOD$ — representing the modulus.

$1≤n≤10^5$

$1≤a_i≤10^{18}$

$1≤b_i≤10^{12}$

$1≤MOD≤10^9$

## Output

Your task is to conjure the result of the given number as described above, but with an added touch of magic - find it modulo MOD!

The output will contain three lines: the first line contains the desired number and the second line is the parity of the count of divisors of that number. If even print “Even” else print “Odd” (without the quotes) and lastly the number of digits in the number of divisors of the number. Look at the sample output for more information.

## Sample

InputOutput
5
2 3 2 3 5
1 2 2 1 2
11

10
Even
2


Be careful about the output formatting and newline (‘\n’) at the end.