In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['G', 'v', 7169, 'v', '1191', '7861', '3791', '5147', 't', 'P', '5623', '3007', '3435', 'J', 'N', 5903, 'm'], ['G', 'X', 'C', 9327, 1467, '1191', '7861', '3791', '5147', 't', 'P', '5623', '3007', '3435', 'T', 'c', 'b', 6569]