In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['P', 7189, 1215, 9107, 'i', 6803, '3991', '727', 'm', 'X', '3851', 'Y', 'i', 'x', '855', 'k', '9289', '287', 'w', 7913, 6453, 'G', 9253], [8413, 6687, 7307, 6521, 'h', 3663, 'c', 'x', 'F', 8979, 'b', 'h', '3991', '727', 'm', 'X', '3851', 'Y', 'i', 'x', '855', 'k', '9289', '287', 'u', 7615, 'b', 'o', 6297, 4031, 'k', 851, 'W', 4733, 4483, 'A']