In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[2387, 2059, 7909, 'i', 'h', 'V', '8225', 'Z', '803', 'S', 'J', '7365', 'Q', 'X'], [9789, 3807, 'i', '8225', 'Z', '803', 'S', 'J', '7365', 'O', 'z', 6011, 'y']