using System.Collections.Generic;
using System.Text.RegularExpressions;
public static void Main()
Console.WriteLine("Hello!");
string greeting = Console.ReadLine();
if (CheckStringExists("hello how are you", greeting))
Console.WriteLine("I am good");
public static bool CheckStringExists(string input, string userInput)
var inputArray = input.ToLower().Split(' ');
var userInputArray = userInput.ToLower().Split(' ');
while (i < inputArray.Length && j < userInputArray.Length)
if (inputArray[i] == userInputArray[j])
return i == inputArray.Length;