Codeforces Round 439 (Div. 2) |
---|

Finished |

Virtual contest is a way to take part in past contest, as close as possible to participation on time. It is supported only ICPC mode for virtual contests.
If you've seen these problems, a virtual contest is not for you - solve these problems in the archive.
If you just want to solve some problem from a contest, a virtual contest is not for you - solve this problem in the archive.
Never use someone else's code, read the tutorials or communicate with other person during a virtual contest.

brute force

implementation

*1100

No tag edit access

The problem statement has recently been changed. View the changes.

×
A. The Artful Expedient

time limit per test

1 secondmemory limit per test

256 megabytesinput

standard inputoutput

standard outputRock... Paper!

After Karen have found the deterministic winning (losing?) strategy for rock-paper-scissors, her brother, Koyomi, comes up with a new game as a substitute. The game works as follows.

A positive integer *n* is decided first. Both Koyomi and Karen independently choose *n* distinct positive integers, denoted by *x*_{1}, *x*_{2}, ..., *x*_{n} and *y*_{1}, *y*_{2}, ..., *y*_{n} respectively. They reveal their sequences, and repeat until all of 2*n* integers become distinct, which is the only final state to be kept and considered.

Then they count the number of ordered pairs (*i*, *j*) (1 ≤ *i*, *j* ≤ *n*) such that the value *x*_{i} xor *y*_{j} equals to one of the 2*n* integers. Here xor means the bitwise exclusive or operation on two integers, and is denoted by operators ^ and/or xor in most programming languages.

Karen claims a win if the number of such pairs is even, and Koyomi does otherwise. And you're here to help determine the winner of their latest game.

Input

The first line of input contains a positive integer *n* (1 ≤ *n* ≤ 2 000) — the length of both sequences.

The second line contains *n* space-separated integers *x*_{1}, *x*_{2}, ..., *x*_{n} (1 ≤ *x*_{i} ≤ 2·10^{6}) — the integers finally chosen by Koyomi.

The third line contains *n* space-separated integers *y*_{1}, *y*_{2}, ..., *y*_{n} (1 ≤ *y*_{i} ≤ 2·10^{6}) — the integers finally chosen by Karen.

Input guarantees that the given 2*n* integers are pairwise distinct, that is, no pair (*i*, *j*) (1 ≤ *i*, *j* ≤ *n*) exists such that one of the following holds: *x*_{i} = *y*_{j}; *i* ≠ *j* and *x*_{i} = *x*_{j}; *i* ≠ *j* and *y*_{i} = *y*_{j}.

Output

Output one line — the name of the winner, that is, "Koyomi" or "Karen" (without quotes). Please be aware of the capitalization.

Examples

Input

3

1 2 3

4 5 6

Output

Karen

Input

5

2 4 6 8 10

9 7 5 3 1

Output

Karen

Note

In the first example, there are 6 pairs satisfying the constraint: (1, 1), (1, 2), (2, 1), (2, 3), (3, 2) and (3, 3). Thus, Karen wins since 6 is an even number.

In the second example, there are 16 such pairs, and Karen wins again.

Codeforces (c) Copyright 2010-2024 Mike Mirzayanov

The only programming contests Web 2.0 platform

Server time: Apr/14/2024 04:56:09 (j2).

Desktop version, switch to mobile version.

Supported by

User lists

Name |
---|