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

Ex Input:
[5023, 1633, 6863, 9693, 'p', 3961, 7873, 'O', 'w', 'Y', 'T', 'r', 'H', 7385, '715', 'Q', '4937', 'Z', 'L', '2393', '9021', '7407', '3597', '4273', 'f', '7643', 'J', '2705', 'w', 'i', '3093', 'p', 'E', '4203', '6371', '5797', 'a', '2223', 'T', 'I', '989', '4313', 'R', 'g', 6665, 'F', 'X', 'v', 5013, 'X', 'Z', 8567, 'j', 'z', 'S', 3365, 6011, 't', 879], [149, 841, 'w', 9105, 6917, 'M', 'M', 'A', 'o', 'b', 4001, '715', 'Q', '4937', 'Z', 'L', '2393', '9021', '7407', '3597', '4273', 'f', '7643', 'J', '2705', 'w', 'i', '3093', 'p', 'E', '4203', '6371', '5797', 'a', '2223', 'T', 'I', '989', '4313', 'D', 'i', 9469, 1355, 7537, 6121, 'I', 9551, 'o', 'u', 'F', 't', 2395, 'K', 9727, 395, 8717, 'z', 'F', 6785, 'i', 'D', 'n', 9731, 103]

Ex Output:
715, Q, 4937, Z, L, 2393, 9021, 7407, 3597, 4273, f, 7643, J, 2705, w, i, 3093, p, E, 4203, 6371, 5797, a, 2223, T, I, 989, 4313


Ex Input:
['d', 6717, 1947, 'n', 8773, 'E', 7607, 1719, 6751, 'L', 't', '3149', 'y', '7897', 'L', 'J', '9557', '6413', 'H', 'q', '3055', '5967', '9411', '7869', '8277', '7533', 'H', '9713', '5981', 'a', '2937', 'k', 7289, 9515, 'G', 'q'], ['W', 8869, 't', 3453, 9177, 'G', 'M', 5171, 'O', 'C', 5097, 'H', 'M', 'U', 4167, 3051, 7487, 7483, 4945, '3149', 'y', '7897', 'L', 'J', '9557', '6413', 'H', 'q', '3055', '5967', '9411', '7869', '8277', '7533', 'H', '9713', '5981', 'a', '2937', 'C', 9799, 6659, 's', 6881, 'w']

Ex Output:
3149, y, 7897, L, J, 9557, 6413, H, q, 3055, 5967, 9411, 7869, 8277, 7533, H, 9713, 5981, a, 2937


Ex Input:
[9513, 'Y', 7505, 'f', 'B', 'U', 6871, 'S', 'L', 'm', '5861', 'S', 'z', 'P', '6837', 'f', 7059, 'C', 'x', 'q', 'u'], ['G', 'j', 9925, 'r', 'S', 'L', 'm', '5861', 'S', 'z', 'P', '6837', 'M', 7741, 'i', 'o', 'A', 2165, 'a']

Ex Output:

S, L, m, 5861, S, z, P, 6837