In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[8673, 6681, 's', 5407, 'E', 'X', 5609, 6611, 'R', 'N', 1419, '7649', 'Y', 'D', 'c', '5125', 'H', '6017', '473', '5377', '6443', '7829', '6039', '4483', 'B', 'T', 3051, 'j', 6075, 965, 9575, 'y'], [5233, 'f', 2515, 'u', 'q', 7947, 8861, 'z', 5279, 'Y', '7649', 'Y', 'D', 'c', '5125', 'H', '6017', '473', '5377', '6443', '7829', '6039', '4483', 'B', 'K', 'P', 3669, 9497, 6323, 7229, 6827]