In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['O', 9455, 'J', 8161, 4113, 'b', 'H', 'k', 'A', '1787', 'h', '1835', 'x', 4743], ['a', 3967, 4377, 'r', 'H', 'k', 'A', '1787', 'h', '1835', 'g', 'k', 4575, 1199]