In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['h', 3377, 7135, 7973, 's', 'w', 'F', '4969', '9115', 'F', 'c', 2565, 2677, 'T', 'q'], ['r', 'x', 's', 'w', 'F', '4969', '9115', 'F', 'w', 4715, 'F']