5315: 【GESP202312五级】小杨的幸运数

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:1 Solved:1

Description

Input

Output

Sample Input Copy

2 4
1
4
5
9

Sample Output Copy

4
lucky
8
lucky

HINT

样例解释1: