In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['w', 5217, 'C', 3087, 'n', 6327, 2651, 'G', 'O', 'Q', 'S', 7623, 7317, 'D', 1091, '2051', '1121', 'f', '3623', 'd', '2727', '8587', '3201', '1775', 'P', '8549', '4173', '465', '4489', 'k', '4951', 'j', '3083', '6597', '3213', 'C', 'I', 3649, 5807, 3189, 'g', 'E', 9063, 7815, 5323, 4831, 4809, 1439, 's', 2089, 1165, 2407, 8575, 'B', 'X'], ['W', 9045, '2051', '1121', 'f', '3623', 'd', '2727', '8587', '3201', '1775', 'P', '8549', '4173', '465', '4489', 'k', '4951', 'j', '3083', '6597', '3213', 't', 7723, 'X', 3553, 9977, 'x', 2183, 6813, 347]