In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['r', 8677, 's', 6329, 'h', 1995, 9669, 'n', 1463, 'G', 3289, 7521, 'l', 5043, 'G', '7369', 'X', 'p', 'b', '8937', 'g', 'A', 'e', 'b', 'M', 'l', '5581', '7847', '9035', 'h', '365', '267', '1347', '4215', 'V', 'e', 'J', 'e', 'c', 289, 'K', 3259, 's', 2837], ['o', 7137, 9471, 3945, 5425, 'b', 7433, 'j', 3445, 6707, 8629, 'g', 1831, 'm', 'M', 'w', 2961, 'X', 'y', 9125, 3359, 3419, '7369', 'X', 'p', 'b', '8937', 'g', 'A', 'e', 'b', 'M', 'l', '5581', '7847', '9035', 'h', '365', '267', '1347', '4215', 'V', 'e', 'J', 'e', 'S', 'x', 'N', 4059, 'W', 5763, 'A', 5765, 'X', 'p', 9081, 'E', 'X', 'G', 3479, 1077, 2521, 'c']