In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[1825, 2251, 9351, 'z', 'g', '2387', 'A', 'X', 'k', '185', '6663', '1717', '2455', '9121', 'y', 'P', 'T', 'x', 7761, 'Z', 6409], ['e', 835, '2387', 'A', 'X', 'k', '185', '6663', '1717', '2455', '9121', 'y', 'P', 'X', 't', 'z', 'm']