In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['Y', 2833, 'T', 'p', '5483', 'D', '1357', 'p', '4199', '6965', 'K', '1611', 'l', 'a', 7313, 6425, 'S', 'A', 'Z', 'i', 'r'], ['H', 'w', 9689, 5717, 'U', 8679, 'p', '5483', 'D', '1357', 'p', '4199', '6965', 'K', '1611', 'l', 'N', 'Y', 7593, 'Q']