In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['U', 6909, 'H', 'E', 'q', '4937', '4201', 't', 'd'], [7079, 2409, 'p', 9535, 7835, 'H', 'E', 'q', '4937', '4201', 'J', 'u', 2449, 4333, 'P']