In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['A', 'r', 6357, 6277, 'r', 'y', '6359', 'T', 'e', '9031', 'a', '8673', 'v', 'f', 1995, 'r'], [6643, 'Q', 3469, 'r', 'y', '6359', 'T', 'e', '9031', 'a', '8673', 'z', 'p', 'v', 6353, 8177, 9965, 2951]