In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['s', 'm', 8217, 1005, '9793', '6953', '5863', '6227', 'B', '9267', '1731', 'F', '2895', 'W', 'i', '7273', 'O', 7475, 'm', 'c', 5725, 'G', 217, 'L', 'p', 'J'], [5573, 6663, '9793', '6953', '5863', '6227', 'B', '9267', '1731', 'F', '2895', 'W', 'i', '7273', 'Z', 4485, 't', 'm', 5659, 9513, 'm', 7679, 'a', 'T', 4887, 'n']