In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[8223, 'H', 'k', 'n', 'V', 7555, 'q', 'J', 'l', 477, 7127, 6497, 5685, 6663, 'r', 'G', 6917, 245, 7003, 'k', '3729', '1515', 'w', 'v', '6097', 'u', 'k', 'a', 'a', 'O', 'j', 'E', '4217', '6477', '8863', 'S', '7611', 'F', '6791', '7543', 'x', 'q', 'E', 8015, 's', 'Q', 'W', 1643, 7197, 2885, 'g', 'g', 'c'], [1845, 8001, '3729', '1515', 'w', 'v', '6097', 'u', 'k', 'a', 'a', 'O', 'j', 'E', '4217', '6477', '8863', 'S', '7611', 'F', '6791', '7543', 'x', 'T', 'z', 'I', 'R', 'f', 2619, 2289, 785, 6211, 2881, 5471, 7267, 4287]