In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['r', 'J', 4879, 6355, 'h', 'z', 'x', 'm', 'S', 8595, 7151, 'f', '7903', 's', '1373', '8799', 'z', '2405', '1161', 'C', '8483', 'Q', 'M', '6815', 'p', 'Q', 7809, 'W', 'r', 5509, 'X', 'x'], [603, 'z', 'h', 4183, 2657, 'Z', 'd', 'i', 3343, 'k', 'f', '7903', 's', '1373', '8799', 'z', '2405', '1161', 'C', '8483', 'Q', 'M', '6815', 'p', 'B', 'y', 'N', 'z', 'z', 'q', 'w', 6571, 'A', 9799, 'p', 'f']