In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['X', 'w', 7259, 'w', 'Z', 'F', '4825', 'P', 'V', '741', 'D', 289], ['H', 49, 2685, 'q', 's', 'U', 'Z', 'F', '4825', 'P', 'V', '741', 'q', 'W', 5713, 'e']