In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[7615, 3985, 'o', 1073, 5157, 5347, '7031', '7637', '6703', '7735', '8445', '9373', 'f', 'x'], [1247, 'x', 5707, 3649, 'g', 'z', '7031', '7637', '6703', '7735', '8445', '9373', 'h', 6317, 'T', 'M', 5703, 'h']