In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['T', 'q', 'r', '2795', '3617', 'w', '297', '4309', 'B', 'I', 'g', 'j', 'p', 'M', 6841, 'N', 'z', 'x'], [2047, 'j', 'V', 2181, 8083, '2795', '3617', 'w', '297', '4309', 'B', 'I', 'g', 'W', 7935]