In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['G', 5995, 6997, 'L', 'I', 4355, 5201, '7531', '4111', '6845', 'd', 'F', '7097', 'j', '7989', '6859', '5331', 'A', '1121', '5069', 'i', '5891', 'k', 6387, 'h', 7103, 881], [7837, 'L', 3755, 'B', 9439, 7823, 6225, 6139, 263, '7531', '4111', '6845', 'd', 'F', '7097', 'j', '7989', '6859', '5331', 'A', '1121', '5069', 'i', '5891', 'M', 'c', 'a', 7025, 'C', 6569, 5155, 'V', 'h', 'f', 9019, 'q', 6115]