题解 | #[NOIP2008]笨小猴#
[NOIP2008]笨小猴
https://www.nowcoder.com/practice/17865bc2a75c4944a872ef709958c56e
s = input() s1 = [s.count(i) for i in s] # c = [2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97] c = [2,3,5,7,11] t = max(s1) - min(s1) if t in c: print('Lucky Word') print(t) else: print('No Answer') print('0')