In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['B', 'D', 'x', 's', 3243, 'C', 3871, 567, 'R', 7863, 'N', 6665, '1013', '7629', '4219', 'f', '8397', '6085', 's', '4009', '1249', '9231', 'x', 'B', '4875', 'b', 'J', 'W', '6491', 'A', 8385, 4165, 'a', 9907, 'W', 9439, 'T'], [6947, 'P', 2261, 'F', 4969, 2341, 4031, 247, 1287, '1013', '7629', '4219', 'f', '8397', '6085', 's', '4009', '1249', '9231', 'x', 'B', '4875', 'b', 'J', 'W', '6491', 'S', 'L', 'B', 9727, 'W', 'o', 'y', 8819, 'u', 967, 'h', 'I']