In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['d', 5935, 'O', 77, 9959, 'e', 6001, 'V', 'f', 7829, 'P', 6051, 5743, 'M', 4501, 'e', '1843', '7327', 'p', 'j', 'n', 'd', '3029', 'C', 'l', '3797', '4693', 'Y', 'D', 'd', 'J', 'C', '7431', 'Z', 'v', 'J', 'c', 6231, 'z', 'b', 4041, 'P', 167, 'W', 'J', 379, 5653, 'I', 7837, 7429], ['L', 9547, 'I', 'j', 3287, 'W', 3179, 279, 5015, 'e', '1843', '7327', 'p', 'j', 'n', 'd', '3029', 'C', 'l', '3797', '4693', 'Y', 'D', 'd', 'J', 'C', '7431', 'c', 1853, 'q', 'Z', 5439, 'v', 845, 'O', 4271, 6299, 'e', 4659, 4549, 5347, 'd', 'a', 'k']