In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['L', 4653, 'm', 9279, 'p', 'z', 'B', 'h', '5419', 'L', '9891', 'U', 'V', 3125, 6673], ['z', 9467, 'l', 'B', 'h', '5419', 'L', '9891', 'U', 'd', 2239, 7713, 123, 'q']