In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['P', 1853, 4273, 'a', 'W', 'N', 'f', 'S', 1355, 'n', '9179', 'i', 'q', '7675', 'i', '4435', '3875', '5183', '6101', 'i', 'Q', 'l', 'n', 5381, 'G', 5339, 'w', 2455, 'k', 399], [3547, 6887, 'u', 8895, '9179', 'i', 'q', '7675', 'i', '4435', '3875', '5183', '6101', 'i', 'F', 'G']