In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['T', 'i', 'M', 97, 3747, 'k', 1723, '6775', 'V', 'b', 'A', '8157', '2055', 'f', '4441', '8163', 'J', 'R', 'm', 7137, 2467, 'q', 'u', 'X'], ['q', 'R', 'V', 5459, 'S', 'A', '6775', 'V', 'b', 'A', '8157', '2055', 'f', '4441', '8163', 'J', 'j', 's', 5627, 3783]