In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['e', 'k', 4131, 'Q', 8847, 4025, 'y', 'Z', 7371, 5671, 5227, 585, 'R', 'Y', 'a', '10021', '4843', 'W', 'E', '7239', '869', 'a', '397', 'w', 'b', '3889', 'T', '7617', '1009', 'd', '7679', 'C', 8257, 'p', 'U', 'k', 7845, 'h', 'r', 7987, 'L', 'D', 'd'], [7167, 885, 'K', 3925, 5673, 1511, 'U', 8851, 'X', 8987, 3029, 'E', '10021', '4843', 'W', 'E', '7239', '869', 'a', '397', 'w', 'b', '3889', 'T', '7617', '1009', 'd', '7679', 'p', 'l', 'b', 6769, 171, 3827, 'r']