In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[4507, 'G', 3107, 'h', 'a', 'g', 5937, 7205, 'o', 'n', 'G', 'q', 3377, 'n', 'S', 'G', 'I', 1603, '2551', '1523', 'F', '4911', '9857', '8643', '1459', 'L', '5181', 'X', '7971', '261', 'i', '8573', 'i', 'n', '2751', '333', '1729', '1645', 'n', 'V', '6091', '3871', 'N', 'V', '3779', '4773', 'R', 5033, 'V', 'k', 1351, 'B', 3993, 7055, 'T'], [6549, 3683, 2293, 4901, 3335, 'B', 'B', 1019, 2511, 8633, 'x', 'i', 't', 1727, 'u', 'c', 'V', 'M', 'H', 5381, 4159, 'K', 'C', 2355, 6203, '2551', '1523', 'F', '4911', '9857', '8643', '1459', 'L', '5181', 'X', '7971', '261', 'i', '8573', 'i', 'n', '2751', '333', '1729', '1645', 'n', 'V', '6091', '3871', 'N', 'V', '3779', '4773', 'I', 'b', 6493, 'o']