using System.Collections.Generic;
public static void Main()
Console.WriteLine("My name is Siri");
Console.WriteLine("What is your name?");
string name = Console.ReadLine();
Console.WriteLine("Wow! What's a nice name. And how are you?");
Console.WriteLine("Me too");
Console.WriteLine("What are you doing");
Random rand = new Random();
Dictionary<int, string> answers = new Dictionary<int, string>();
answers[2] = "Well done";
answers[3] = "Good Job!";
answers[4] = "You are a top gun!";
Dictionary<int, string> greetings = new Dictionary<int, string>();
greetings[2] = "How are you";
greetings[3] = "Good Morning";
greetings[4] = "Good day";
greetings[5] = "Good afternoon";
greetings[6] = "Good night";
Dictionary<int,string> colors = new Dictionary<int, string>();
var number = rand.Next(0, 9);
string quest = Console.ReadLine();
if(quest.IndexOf("color", StringComparison.OrdinalIgnoreCase) >=0){
Console.WriteLine("Maybe");
Console.WriteLine(colors[number]);
Console.WriteLine("or thistle");
Console.WriteLine("really, I don't know");
else if(quest.IndexOf("hi", StringComparison.OrdinalIgnoreCase) >=0 || quest.IndexOf("hello", StringComparison.OrdinalIgnoreCase) >= 0){
Console.WriteLine(greetings[number]);
else if(quest.IndexOf("old", StringComparison.OrdinalIgnoreCase)>= 0)
Console.WriteLine("Very old, baby");
Console.WriteLine(answers[number]);