In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['o', 'X', 2671, 8615, 'D', 'C', 'z', '6811', '5429', '8871', '2833', '659', '6757', 'B', '395', 'x', 'R', 3863, 2259, 6915, 4041, 5351, 7967, 9627, 4239, 'B', 7379], ['B', 4027, 'T', 6741, 4799, 'q', 'J', 'n', 945, 'T', 'Q', 'D', 'C', 'z', '6811', '5429', '8871', '2833', '659', '6757', 'B', '395', 'x', 7269, 'Q']