In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[7297, 'E', 'G', 273, 1101, 'B', '493', '631', 'q', '5583', '4247', 'm', '4859', 'c', '4251', 'I', '7517', '7235', 'h', '5865', 'o', 2641, 1509, 5707, 4807, 5987, 'C', 'k', 8291, 'x', 'I', 1413, 4895, 8641], ['x', 237, '493', '631', 'q', '5583', '4247', 'm', '4859', 'c', '4251', 'I', '7517', '7235', 'h', '5865', 'C', 2549, 6513, 9129, 'G', 'F', 't', 3753]