In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['t', 'M', 'E', 1777, '1365', 'I', '9513', 'C', 'f', 'D', '9765', '189', 'd', 'q', '7969', 'M', 'g', 'q', 6565], ['i', 'j', 'O', 2639, 'f', '1365', 'I', '9513', 'C', 'f', 'D', '9765', '189', 'd', 'q', '7969', 'M', 'i', 'q']