In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Q: ['e', 'O', 8617, 'b', 'u', 7351, 5821, 'b', 7997, 'p', 1601, 7079, 'f', 'V', 'w', '5271', 'k', 'P', 'I', '4743', '1503', '3215', 't', 'l', '6917', 'v', 'I', 'r', '5347', 'j', 'a', '2471', 'K', '6997', 'f', '6365', '9251', 'S', 'H', 'o', '1197', 'W', 'H', 6725, 3557, 9281, 'a', 5359, 179, 'n', 7217, 3527], [1975, 'c', 2311, 7123, 'y', 8135, 5843, 3385, 6273, 5755, 'u', 4857, 'm', 7291, 2011, 7237, 't', 4951, 'Q', 2589, 'y', 387, 7389, 'C', 515, 1471, 'A', 'D', 'w', '5271', 'k', 'P', 'I', '4743', '1503', '3215', 't', 'l', '6917', 'v', 'I', 'r', '5347', 'j', 'a', '2471', 'K', '6997', 'f', '6365', '9251', 'S', 'H', 'o', '1197', 'W', 'C', 'Q', 'U', 'm', 'P', 7525, 'q', 153, 9321, 7, 8433, 'W', 'C', 2917, 8141, 'Z', 6577, 'D', 5335, 7539]
A:
w, 5271, k, P, I, 4743, 1503, 3215, t, l, 6917, v, I, r, 5347, j, a, 2471, K, 6997, f, 6365, 9251, S, H, o, 1197, W