Substring Reverse Problem Two strings s and t of the same length are given. Determine whether it is possible to make t from s using exactly one reverse of some its substring. Input The first line contains the string s, and the second - the string t.…