In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[8381, 'H', 'h', 'U', 2413, 'X', 8097, 5313, 'W', '3743', '517', '2251', 'J', 'R', '5217', 'b', 'G', 'n', '2225', '7893', '8265', 'Q', '2995', 'V', '6333', '2975', '3585', 'y', '6971', '6379', 'j', 'X', 4283, 3997, 7993, 'E', 5471, 'S', 7665, 3651, 9965, 3551, 'f', 'm', 3903, 257, 'B', 'V', 'P'], ['Q', 'r', 'w', 2107, '3743', '517', '2251', 'J', 'R', '5217', 'b', 'G', 'n', '2225', '7893', '8265', 'Q', '2995', 'V', '6333', '2975', '3585', 'y', '6971', '6379', 'f', 8009]