using System.Collections.Generic;
public static void Main()
string str2 = "NOHARAAA";
Console.WriteLine("Hello World");
public static void Str(string str, int num, string str2,string str3, Dictionary<char,int> dict,int[] arr)
for (int i = num; i < str2.Length; i++)
Console.WriteLine(str3.LastIndexOf(str2[i],str2.Length - 1));
if (str3.LastIndexOf(str2[i],str2.Length - 1) > -1)
dict[str2[i]] = str3.LastIndexOf(str2[i],str2.Length - 1);