In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['N', 5039, 'G', 'P', 't', '8167', '3023', '3325', '6211', 'i', 'p', 1383, 7355], [1437, 'A', 'f', 'b', 9539, 't', '8167', '3023', '3325', '6211', 'i', 'g', 5055, 'Q']