In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.

[Q]: [5173, 6195, 's', '1739', 'z', '6701', '4055', '10017', '9615', '8077', 'I', '2899', 'm', 'H', '8731', '4099', '333', '4715', 'K', '1037', 'k', 'L', 'M', 1893, 'X', 'e'], ['k', 8023, 'R', 'D', 7703, 'l', 7021, 195, 307, 'H', 365, 8069, 559, 8195, 'g', 's', '1739', 'z', '6701', '4055', '10017', '9615', '8077', 'I', '2899', 'm', 'H', '8731', '4099', '333', '4715', 'K', '1037', 'k', 'l', 'o', 4179, 'O', 'Z', 'g', 1391, 's', 10005, 2651, 'D', 9085, 'y', 'L', 'L']
[A]: s, 1739, z, 6701, 4055, 10017, 9615, 8077, I, 2899, m, H, 8731, 4099, 333, 4715, K, 1037, k


[Q]: [8521, 7389, 'Z', 959, 4009, 4683, 'y', '4295', '5675', 'a', '5585', 'q', '5785', '9081', 'U', 's', 'i', 'D', 2717, 'P', 3531, 8889], ['Y', 4689, 'H', 'h', 3485, 1659, '4295', '5675', 'a', '5585', 'q', '5785', '9081', 'U', 's', 'm', 'k', 3777, 'l', 4497, 5837, 7061]
[A]: 4295, 5675, a, 5585, q, 5785, 9081, U, s


[Q]: ['h', 'M', 'e', 6781, 'v', 1001, 683, 2351, 'd', 'P', 'D', '4917', '2967', '2821', '5465', '3705', 'n', 'J', 'g', 'C', 'j', '1491', 'c', 'g', 'N', 'e', 'g'], [217, 'E', '4917', '2967', '2821', '5465', '3705', 'n', 'J', 'g', 'C', 'j', '1491', 'c', 'g', 'N', 'L', 'D', 'h', 'm']
[A]:
4917, 2967, 2821, 5465, 3705, n, J, g, C, j, 1491, c, g, N