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.

[6823, 'v', 'w', 8379, 6617, 4017, 'S', 939, 7011, 5247, 343, 'z', '6803', '9959', 'Y', '8553', '857', '809', '6785', '7611', 'u', 'R', '6515', 'y', '2543', '7721', 'O', '1251', 'o', '6231', '6017', 'a', '7167', 'f', '4275', '5811', 'A', 'P', 'p', 'M', 'E', 'E', 6473, 3745, 'A', 7011, 9701, 3721], [6465, 'x', 227, 'O', 't', 'L', 4833, 'Q', 8653, 9351, 3919, 3471, 'N', 9899, 'b', 'P', 'R', 6861, 1199, 'A', 8069, 9295, 'k', 5477, 6399, 241, 2563, 7005, 'z', '6803', '9959', 'Y', '8553', '857', '809', '6785', '7611', 'u', 'R', '6515', 'y', '2543', '7721', 'O', '1251', 'o', '6231', '6017', 'a', '7167', 'f', '4275', '5811', 'A', 'P', 'p', 'M', 'E', 'x', 9817, 'u', 'O', 3423, 5325, 6145, 'g', 'l', 6415, 7473, 4337, 'd', 2307, 8979, 5727, 7485]
z, 6803, 9959, Y, 8553, 857, 809, 6785, 7611, u, R, 6515, y, 2543, 7721, O, 1251, o, 6231, 6017, a, 7167, f, 4275, 5811, A, P, p, M, E