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

Ex Input:
[1699, 5363, 'U', 3351, 'K', 1771, 8981, 'y', 4317, 'P', 'H', 'f', 'j', '7169', '129', 'Z', 'K', 'r', 'o', 'v', '1713', 'g', 'A', 'h', 'e', '421', 'a', 'b'], [1477, 'o', 'h', 4413, 'Y', 'V', 4539, 't', 'S', 3527, 9183, 9541, '7169', '129', 'Z', 'K', 'r', 'o', 'v', '1713', 'g', 'A', 'h', 'e', '421', 'j', 'V', 8579, 3395, 'l', 'X', 'l', 'm', 4239]

Ex Output:
7169, 129, Z, K, r, o, v, 1713, g, A, h, e, 421


Ex Input:
[3035, 7591, 'C', 'q', 'V', 'Y', 'C', 'D', '8629', '8873', 'O', '2505', '123', '8427', 'E', 'f', 'j', 's', 'G', '813', 't', '4113', '9319', '3221', 'K', 'C', 'C', '1679', 'Q', 'a', 'G', 'N', 'T', 's', 8601, 'j', 'D', 8513, 'd', 'm', 9725, 'V', 'R', 6981, 3191, 9251, 3009, 'y'], [8511, 3233, 'V', 'k', 8569, 511, 'G', 3587, 2909, 2225, 3411, 3135, 'w', 'V', 'Y', 'C', 'D', '8629', '8873', 'O', '2505', '123', '8427', 'E', 'f', 'j', 's', 'G', '813', 't', '4113', '9319', '3221', 'K', 'C', 'C', '1679', 'Q', 'a', 'k', 'S', 'S', 9041, 2591, 7417, 'N', 'W', 'b']

Ex Output:
V, Y, C, D, 8629, 8873, O, 2505, 123, 8427, E, f, j, s, G, 813, t, 4113, 9319, 3221, K, C, C, 1679, Q, a


Ex Input:
[9977, 'u', 3667, '7355', 'p', '461', 't', '8515', 'w', 't', '2727', 't', '6569', '3911', '9827', 'Z', 'Z', 'p', 'I', 'U'], ['K', 'E', 'N', 'M', 8299, 4395, 5535, 9055, 6415, '7355', 'p', '461', 't', '8515', 'w', 't', '2727', 't', '6569', '3911', '9827', 'q', 'k', 1099, 8839, 7419, 2799, 1333, 4243, 'X']

Ex Output:

7355, p, 461, t, 8515, w, t, 2727, t, 6569, 3911, 9827