#include <stdio.h>

void    lucky(int a)
{
    int handred;
    int ten;
    int one;

    handred = a / 100;
    ten = a % 100 / 10;
    one = a % 10;

    if (100 <= a && a <= 999)
    {
        if (handred == 7 || ten == 7 || one == 7)
            printf("%s\n", "yes");
        else
            printf("%s\n", "no");
    }
}
