In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['S', 'o', 9247, 'W', 'G', 5923, 4791, '8083', '3207', '9137', '9359', '9297', '9667', '75', 'h', '9671', 's', 'T', 5829, 'p'], ['K', 'U', 'H', 8611, 1005, 'I', '8083', '3207', '9137', '9359', '9297', '9667', '75', 'h', '9671', 'C', 9577, 8279, 2247, 'x', 4917, 'H']