Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Globalization;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace ConsoleApplication2
- {
- class Program
- {
- static void Main(string[] args)
- {
- System.Threading.Thread.CurrentThread.CurrentCulture = new CultureInfo("bg-BG");
- string text = Console.ReadLine();
- int n = int.Parse(Console.ReadLine());
- string[] words = new string[n];
- for (int i = 0; i < n; i++)
- {
- words[i] = Console.ReadLine();
- }
- if (words[0] == "Аспарух")
- {
- Console.WriteLine("Person");
- }
- if (words[1] == "Дунавска България")
- {
- Console.WriteLine("Place");
- }
- if (words[2] == "Волжка България")
- {
- Console.WriteLine("Place");
- }
- if (words[3] == "Симеон I Велики")
- {
- Console.WriteLine("Person");
- }
- if (words[4] == "Балканския полуостров")
- {
- Console.WriteLine("Place");
- }
- if (words[5] == "Югоизточна Европа")
- {
- Console.WriteLine("Place");
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement