Given the task definition and input, reply with output. In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.

['E', 'X', 'c', 6103, 9323, 6759, 5893, 'o', 'd', 'Q', 7755, 6137, '5215', 'n', '5803', 's', '7987', 'g', '5329', 'Z', '4407', '2823', '4371', 'b', '2655', 'm', 1215, 'B', 671, 'i', 'd', 5857], ['E', 3611, 'O', 385, 439, 5769, 'a', 'a', 2327, 1033, 'S', '5215', 'n', '5803', 's', '7987', 'g', '5329', 'Z', '4407', '2823', '4371', 'b', '2655', 's', 6861, 9005, 8647, 2267, 1151, 3217, 'G', 'F', 9521]

5215, n, 5803, s, 7987, g, 5329, Z, 4407, 2823, 4371, b, 2655