LearnPy Hub
← Arena
EasyRating 800

Lucky Sum

Read two integers a and b. Print LUCKY if a + b is divisible by 7, otherwise print the remainder of (a + b) divided by 7.

Input

One line: a b (|a|, |b| ≤ 10⁹).

Output

LUCKY or a number 1–6.

Sample 1

Input
3 4
Output
LUCKY

Sample 2

Input
10 5
Output
1
solution.py
Output appears here
Lucky Sum · Python Arena problem · LearnPy Hub