Q: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[6853, 8137, 'Y', 'Y', 'O', 'j', 'O', 'k', 'z', 2575, 1147, 1281, '5529', 'Z', '6561', '2509', 'p', 'w', 'U', '5133', 'i', '6577', 'F', '8299', 'q', 'z', 'N', '821', 'k', '7897', '7845', 'u', 'E', 4483, 229, 'U', 'F', 'n', 'G', 'y', 8145, 'c', 6687], ['O', 'g', 7571, 8847, 5279, 3425, 5793, 9803, 'I', 'G', 'd', 'L', 8287, 7881, 4585, 'B', 'c', '5529', 'Z', '6561', '2509', 'p', 'w', 'U', '5133', 'i', '6577', 'F', '8299', 'q', 'z', 'N', '821', 'k', '7897', '7845', 'a', 5005, 'E', 1713, 'l', 'L', 6297, 'j', 2773, 2197, 1547, 's', 2417, 'z', 'V', 'S', 7377]
A:
5529, Z, 6561, 2509, p, w, U, 5133, i, 6577, F, 8299, q, z, N, 821, k, 7897, 7845