16.mostRepetitions

Write a function named mostRepetitions that receives 3 parameters:

  • a string - string1
  • a string - string2
  • a letter

and returns the string that has the most occurrences of the specified letter. If both have the same number of occurrences return string1.

Example 1

Input

string1

=

string2

=

letter

=

Output