In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[2357, 'F', 6949, 'H', 'R', 'q', 5487, 69, 5485, 'J', 'a', '7189', '1237', '3457', 'u', 'z', '2243', 'V', 'J', '2499', '6641', 'd', '4423', '5641', 'p', 'j', 'U', '7115', '6741', 'W', '4221', 'b', '139', '8331', 'o', 1803, 'f', 'O', 6807, 'F', 6851, 4307, 'X', 1089], ['g', 'n', 7885, 'w', 7893, 'p', 'N', 'p', 'M', 1943, 'U', 2657, 193, 'n', 'T', '7189', '1237', '3457', 'u', 'z', '2243', 'V', 'J', '2499', '6641', 'd', '4423', '5641', 'p', 'j', 'U', '7115', '6741', 'W', '4221', 'b', '139', '8331', 'j', 2991, 'I', 'P', 8995, 'r', 1695, 1773]