#include <iostream>
#include <string>
using namespace std;
int main()
{
int y[8] = { 0,0,0,0,0,0,0,0 };
char x[100];
cin.getline(x, 101, '\n');
for (int i = 0; i < strlen(x); i++)
{
if ((x[i] == 'A' || x[i] == 'a') && y[0] == 0)
y[0] = 1;
else if ((x[i] == 'T' || x[i] == 't') && y[1] == 0)
y[1] = 1;
else if ((x[i] == 'Y' || x[i] == 'y') && y[2] == 0)
y[2] = 1;
else if ((x[i] == 'P' || x[i] == 'p') && y[3] == 0)
y[3] = 1;
else if ((x[i] == 'I' || x[i] == 'i') && y[4] == 0)
y[4] = 1;
else if ((x[i] == 'C' || x[i] == 'c') && y[5] == 0)
y[5] = 1;
else if ((x[i] == 'A' || x[i] == 'a') && y[6] == 0)
y[6] = 1;
else if ((x[i] == 'L' || x[i] == 'l') && y[7] == 0)
y[7] = 1;
}
bool key = true;
for (int i = 0; i < 8; i++)
{
if (y[i] == 0)
{
cout << "No";
key = false;
break;
}
}
if (key)
{
cout << "Yes";
}
}
Copy