In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['F', 8113, 6057, 1769, 'm', '8459', 'y', 'i', '8079', '2455', '205', 'r', 8547, 8599, 6905, 'l', 7861, 1447], [5075, 9285, 'c', 'P', 'm', '8459', 'y', 'i', '8079', '2455', '205', 'q', 6651, 2425, 'Q', 'P', 'q', 'p']