In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[9725, 7809, 6009, 5685, 'e', 'w', '7043', '9655', 'I', 'O', '6663', 'Q', '4681', 'x', 'd', 'M', 't', 'p', 'g', 'N', 9561, 9767, 'Q', 8477], [2463, 6629, 'C', 7105, 's', 3691, 'w', '7043', '9655', 'I', 'O', '6663', 'Q', '4681', 'x', 'd', 'M', 't', 'p', 'S', 8693, 'y', 'J', 251, 3039, 4903, 1739]