In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['Z', 8821, 'q', 'w', '2651', '9831', '5507', 't', '6943', '7823', 'Z', 's', 'F', '5341', '6089', 'V', '655', 'F', 'k', 'i', 'R', 9689, 'i', 7683, 'W', 'p', 2955, 4369, 'L', 'Z', 8793, 7185], [9031, 'x', 'q', 'w', '2651', '9831', '5507', 't', '6943', '7823', 'Z', 's', 'F', '5341', '6089', 'V', '655', 'F', 'k', 'i', 'q', 'L', 'S', 'd', 8367]