In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['B', 2837, 'd', '8493', 'o', 'U', 'w', 'F', 'C', '7003', 'V', 'D', 'p', 4523, 'U', 8823], ['P', 1571, 2611, 'U', 'e', 'C', 'w', 'd', '8493', 'o', 'U', 'w', 'F', 'C', '7003', 'E', 6457, 5715, 3131, 'h', 'C']