In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[7409, 'l', 'h', '6739', '5187', 'K', 'D', '7539', '5609', 'x', 'p', 'S', 'j', 'j', '3077', '6081', 'd', '61', '2871', 's', 'J', 'M', 'Q', 'R', 5567, 'p', 'L'], [2329, 5573, 'N', 't', 3213, 9107, 9337, 79, 1607, 'J', 'y', 'g', 's', 'h', 4251, 'L', 3147, '6739', '5187', 'K', 'D', '7539', '5609', 'x', 'p', 'S', 'j', 'j', '3077', '6081', 'd', '61', '2871', 's', 'x', 'Q']