#include <stdio.h>

int main()
{
    int score = 0;
    //多组输入
    while(~scanf("%d\n", &score))
    {
        if (score >=90 && score <=100)
        {
            printf("Perfect\n");
        }
    }

    return 0;
}