In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5003, 'v', '2175', 'L', '2591', '8659', '5107', 'i', 'o', '6253', 'h', 'n', 'R'], [8461, 'W', 9623, 7573, 'Y', '2175', 'L', '2591', '8659', '5107', 'i', 'o', '6253', 1623, 419, 'l', 'B', 'g', 'F', 4653, 'C']