In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['o', 3717, 9371, 5011, 1395, 803, '4897', '1637', 'T', 'G', 'd', 'G', 'k', 'g', 'g', 'H', 'q', '8503', '3745', '2485', 'P', 'z', 'X', 'd', 'K', 's', 6191, 5219], [5867, 9981, 571, 'V', '4897', '1637', 'T', 'G', 'd', 'G', 'k', 'g', 'g', 'H', 'q', '8503', '3745', '2485', 'P', 'z', 'X', 'd', 's', 5181]