Lucky Numbers

[Solved] Lucky Numbers STARTERS 73 CodeChef

[Solved] Lucky Numbers STARTERS 73 CodeChef

Chef calls a number lucky if it contains the digit 77 at least once. Given a number XX, determine if it is a lucky number or not. Input Format Output Format For each test case, output YES if XX is a lucky number. Otherwise, output NO. You may print each character of YES and NO in…