Driver Code
public static void Main ( ) { string s1 = "121" ; string s2 = "223" ; int a = 2 , b = 3 , c = 4 , d = 10 ; int n = s1 . Length ; Console . WriteLine ( findCost ( s1 , s2 , a , b , c , d , n ) ) ; } }