In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5607, 'y', 7893, 'O', 'M', 'O', '8143', '8053', '4271', 'k', 'x', '7335', '9191', '9005', 'G', 'N', '4461', 'j', 6809, 'O', 3687, 5113, 'l', 8047], [8991, 'Z', 'r', 'v', 1251, 2979, 't', 2985, 1885, 2527, 2373, '8143', '8053', '4271', 'k', 'x', '7335', '9191', '9005', 'G', 'N', '4461', 'o', 'x', 5221, 4273, 5899]