In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[6767, 6949, 5353, 411, 1495, 9675, 'g', 'E', 2531, 7759, 6951, 's', 'X', '1441', 'V', '1711', 'e', '3715', '653', 'g', 'Y', '8667', 'J', '1071', 'q', '2659', 'S', 1263, 'b', 'b', 6681, 'O', 8357, 's', 'Y', 'J', 'Z', 'O', 'Z'], ['Q', 'J', 'G', 'V', 8995, 'x', 8475, 'O', '1441', 'V', '1711', 'e', '3715', '653', 'g', 'Y', '8667', 'J', '1071', 'q', '2659', 'i', 'q', 8391, 'j', 'O', 6273, 't', 1851, 'e', 'o', 7261, 8757]