In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Q: ['f', 8467, 'H', '3701', 'W', '7695', 'p', '9029', 't', 'w', '9717', '7583', 'X', '9033', '2223', 'm', '4639', '2381', '9365', 'd', '9177', 'V', '891', '5293', '3219', '2985', '2951', 'x', 4029, 'l', 5595, 9981, 8621, 9827, 'w', 4295, 'n', 'c', 'j', 'K', 'J'], [2071, 5703, 'h', 'B', 3565, 'C', 1153, 'O', 3635, 6589, 2131, 7845, 8769, 1517, 'p', 7419, 3453, 'H', '3701', 'W', '7695', 'p', '9029', 't', 'w', '9717', '7583', 'X', '9033', '2223', 'm', '4639', '2381', '9365', 'd', '9177', 'V', '891', '5293', '3219', '2985', '2951', 'D', 6435, 887, 'r', 8129, 'f', 'S', 8839, 3133, 'J', 493, 'T', 8893, 'p', 5035]
A:
H, 3701, W, 7695, p, 9029, t, w, 9717, 7583, X, 9033, 2223, m, 4639, 2381, 9365, d, 9177, V, 891, 5293, 3219, 2985, 2951