In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['T', 5369, 1173, 6093, 'n', 4575, 'h', 7975, 2921, 1655, 'r', 4521, 8665, 1933, 4703, 'N', 7921, '6499', '3029', '5963', 'P', '9959', '2345', '1265', '8097', '4181', 'r', 't', 'X', 's', 'l', 'p', 'F', '1107', '8395', 'A', '1351', 'G', 'G', 'G', '3113', 'q', 'W', 'G', 9031, 8561, 6175, 5329, 5317, 'd'], [7417, 'P', 'q', 'n', 7037, '6499', '3029', '5963', 'P', '9959', '2345', '1265', '8097', '4181', 'r', 't', 'X', 's', 'l', 'p', 'F', '1107', '8395', 'A', '1351', 'G', 'G', 'G', '3113', 'q', 'l', 4415, 'A', 'o']