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

[7217, 5633, 8727, 'l', 's', 'u', 'T', 'F', 'n', 'L', 'G', 'K', 'S', '523', '9835', '1331', '7069', '9089', 'z', '8111', 'C', '7653', 'P', 'J', 7151, 'J', 1523, 'p', 369, 8817, 'N', 'B', 1305, 1271, 1349, 3329, 1437, 'p'], [595, 7009, 'f', 463, 'B', 'V', 7397, 'n', 'L', 'G', 'K', 'S', '523', '9835', '1331', '7069', '9089', 'z', '8111', 'C', '7653', 'P', 'Y', 'x', 7741, 4563, 'O', 'l', 'D', 'U', 5221]
n, L, G, K, S, 523, 9835, 1331, 7069, 9089, z, 8111, C, 7653, P

['r', 'X', 7017, 'D', 2235, 'p', 'i', 3287, 'z', '9245', 'S', '8055', '1843', '147', '4353', '9543', '9247', '6361', '609', 'v', 'z', '4349', 'd', '6611', '5101', 'G', 'W', 4175, 5695, 'r', 9809, 8187, 'G'], [8989, 2959, 7907, 'F', 2481, 'Q', 9095, '9245', 'S', '8055', '1843', '147', '4353', '9543', '9247', '6361', '609', 'v', 'z', '4349', 'd', '6611', '5101', 'G', 'g', 5163, 'B', 2487, 'r', 'j', 'l', 293, 'Z']
9245, S, 8055, 1843, 147, 4353, 9543, 9247, 6361, 609, v, z, 4349, d, 6611, 5101, G

[9431, 'A', 'f', 1611, 'n', 5383, 9971, 3545, 'c', 'm', 'J', 1445, 4273, 'n', 8617, 5935, 3825, 4145, 9437, 'Q', 879, 'o', '5683', '2337', '7409', 'P', 'h', '4725', '3995', '6085', 'H', '5255', '6459', '1857', '4377', 'C', 'I', 'W', '6041', '6885', '7069', 'X', 'P', '5719', 'X', 'u', 4575, 4539, 7323, 8193, 'U', 'E', 'x', 5723, 3791, 8139, 6443], ['O', 'l', 'l', 8735, 'T', 'K', 1031, 6009, 4009, 's', 2883, 3629, 315, 6959, 6815, 'a', '5683', '2337', '7409', 'P', 'h', '4725', '3995', '6085', 'H', '5255', '6459', '1857', '4377', 'C', 'I', 'W', '6041', '6885', '7069', 'X', 'P', '5719', 'K', 'd', 103, 'F', 'C', 'g', 'j', 6639, 8801, 'H', 7421, 'N', 'c', 5513, 'm', 9759, 4277]

5683, 2337, 7409, P, h, 4725, 3995, 6085, H, 5255, 6459, 1857, 4377, C, I, W, 6041, 6885, 7069, X, P, 5719