In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5773, 6923, 'z', 9769, 9515, 'C', 'T', 3405, 4363, 'G', 7271, 2619, 'n', 't', 1023, 'a', 'q', 'n', 'w', 'i', 1613, '8401', '8169', '1629', 'i', '8057', '3685', '1997', '6403', 'z', 'k', 'c', 'g', '1931', '3029', '8213', 'B', 'X', 'd', 'h', 's', 'L', 'i', '7527', '4285', '4061', '6741', '9717', 'O', 'I', 'd', 'K', 'c', 9835, 'Q', 2901], [8039, 'A', 4315, 1539, '8401', '8169', '1629', 'i', '8057', '3685', '1997', '6403', 'z', 'k', 'c', 'g', '1931', '3029', '8213', 'B', 'X', 'd', 'h', 's', 'L', 'i', '7527', '4285', '4061', '6741', '9717', 'O', 'I', 'K', 'm', 565, 5299]