In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[8517, 'o', 6987, 2383, 'P', 'U', 2271, 4169, 'T', 8269, 7477, 'v', 'V', 9233, 7433, '1301', 'm', '6239', '2163', 'F', '2879', '2133', '6003', 'C', '3413', 'g', '1893', 'S', 'd', '781', '2747', 'B', '8503', 'o', 'j', 'y', 'm', 'O', '3739', 'K', 'x', 'E', 'i', 'V', 6665], ['D', 8679, 2713, 4023, 'H', '1301', 'm', '6239', '2163', 'F', '2879', '2133', '6003', 'C', '3413', 'g', '1893', 'S', 'd', '781', '2747', 'B', '8503', 'o', 'j', 'y', 'm', 'O', '3739', 'K', 't', 'O', 'k', 'R', 7635, 2539, 'D', 6887, 403, 4141, 9875, 6421, 'g', 1185, 'm', 8673, 2411, 'y']