In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5331, 7661, 'm', 5679, 'a', 'P', 4865, 'F', 'C', 'd', 'M', 'f', 9471, 'O', 1135, 'c', 'v', '3009', 'c', 'j', '2441', '9381', 'Y', 'j', '2193', 'J', '6545', 'U', 'n', 'w', 's', '603', 'S', 'B', '8895', 'K', 'p', 2659, 3657, 3995, 8429, 7109], [8061, 'P', 43, 4337, 7697, 'c', 2359, 5025, 7233, 6313, 1613, 37, 'c', 'v', '3009', 'c', 'j', '2441', '9381', 'Y', 'j', '2193', 'J', '6545', 'U', 'n', 'w', 's', '603', 'S', 'B', '8895', 'K', 'W', 7695, 'g', 3453, 2595, 433, 'S', 8439, 5565, 'S', 1171, 'X']