#47381: 2個WA 好吃好吃


chen971023@gmail.com (ZiaynGZiyaNG)


#include <iostream>

#include <string>

using namespace std;

int main()

{

int count = 1;

while(true)

{

string n;

cin >> n;

if (n == "#")

{

break;

}

if (n == "HELLO")

{

cout << "Case " << count << ": " << "ENGLISH" << endl;

count += 1;

}

if (n == "HOLA")

{

cout << "Case " << count << ": " << "SPANISH" << endl;

count += 1;

}

if (n == "HALLO")

{

cout << "Case " << count << ": " << "GERMAN" << endl;

count += 1;

}

if (n == "BONJOUR")

{

cout << "Case " << count << ": " << "FRENCH" << endl;

count += 1;

}

if (n == "CIAO")

{

cout << "Case " << count << ": " << "ITALIAN" << endl;

count += 1;

}

if (n == "ZDRAVSTVUJTE")

{

cout << "Case " << count << ": " << "RUSSIAN" << endl;

count += 1;

}

if (n != "HELLO" and n != "HOLA" and n != "HALLO" and n != "BONJOUR" and n != "CIAO" and n != "ZDRAVSTVUJTE")

{

cout << "Case " << count << ": " << "UNKNOWN" << endl;

count += 1;

}

}

}