In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['v', 7801, 'N', 'k', 'D', 'a', 'V', 8349, '4787', '705', '1477', 'P', '6399', 'K', '2713', '4577', '5393', 'l', '6703', '7793', '3469', 'j', 'j', 'X', 'X', '8523', 'a', 'c', 9531, 'T', 5999, 'z', 'Z', 8707, 'A', 'R', 1315, 'a', 4435, 4845], [8733, 'w', 'e', 'P', 3625, 'h', 5479, '4787', '705', '1477', 'P', '6399', 'K', '2713', '4577', '5393', 'l', '6703', '7793', '3469', 'j', 'j', 'X', 'X', '8523', 'N', 7751, 'J', 'a', 1039, 'U', 895, 9779, 8971, 9223, 3249, 3965, 9085]