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

[Q]: ['l', 8387, '6019', 'r', 't', 'Y'], ['S', 'q', '6019', 'r', 'Z', 9863]
[A]: 6019, r


[Q]: [4385, 'a', 2073, 5621, 'A', 'n', 1919, 1673, 'x', 'v', 'v', 'V', 'h', 'J', '671', '3329', 'b', 'B', 'q', 'f', 'l', '6501', '3425', 'b', '3083', '4541', 'Q', 'p', 'z', 't', 'N', 7057, 'd', 'Y', 'f', 3249, 699, 'x', 1555, 'l', 4749], ['b', 'r', 's', 'v', 'v', 'V', 'h', 'J', '671', '3329', 'b', 'B', 'q', 'f', 'l', '6501', '3425', 'b', '3083', '4541', 'Q', 'p', 'I', 'b', 6909, 'U', 5563, 987]
[A]: v, v, V, h, J, 671, 3329, b, B, q, f, l, 6501, 3425, b, 3083, 4541, Q, p


[Q]: ['Z', 'W', 'C', 1995, 7971, 1867, 'p', 3245, 'q', 'a', 'B', 'r', '8499', '5295', 'E', 'b', '7505', 'l', 'D', 'S', '2675', 'J', 'U', '4521', '4847', '6589', '8223', '865', 'v', 'i', 'b', '7105', '8715', '4117', '3869', 'u', 'p', 'D', '4673', 'H', 7245, 'F', 'N', 8959, 'E', 7885, 'M', 'J', 'R'], [2397, 7039, 'F', 939, 1205, 7311, 5227, 'N', 4025, 'g', 'L', 1691, 2607, 'k', 'i', 'j', 'D', 8609, 7881, 9067, 4445, 'z', 'g', 'Y', 7735, '8499', '5295', 'E', 'b', '7505', 'l', 'D', 'S', '2675', 'J', 'U', '4521', '4847', '6589', '8223', '865', 'v', 'i', 'b', '7105', '8715', '4117', '3869', 'u', 'p', 'D', '4673', 'N', 3269, 9325]
[A]:
8499, 5295, E, b, 7505, l, D, S, 2675, J, U, 4521, 4847, 6589, 8223, 865, v, i, b, 7105, 8715, 4117, 3869, u, p, D, 4673