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

Ex Input:
[5701, 'Y', 2511, 4707, 'i', 9083, 1187, '749', 'v', 'i', 'f', 'j', '5983', '4221', 'p', 'q', '8703', 'n', 'Z', 'O', 'A', 'H', 'X', 8863, 7467, 665, 3485, 4035, 'g', 8795], [189, 8331, 'N', 'S', 'U', '749', 'v', 'i', 'f', 'j', '5983', '4221', 'p', 'q', '8703', 'n', 'Z', 'O', 'A', 'H', 'R', 't', 9581, 5575, 'Q', 'Q', 1209]

Ex Output:
749, v, i, f, j, 5983, 4221, p, q, 8703, n, Z, O, A, H


Ex Input:
[8733, 'v', 'p', 5209, '4029', 'C', 'c', '3735', 'F', 'P', '6489', 'x', 'R', '8225', 'S', 'O', '8797', 'b', '2799', '4967', '653', 'k', '8993', '493', 'O', 'b', 3779, 5973, 'i', 5921, 'N', 5057, 'A', 2577, 'Z', 1771, 'a', 1067, 'n', 'R', 'g', 4261, 2179, 6831, 4749], [9955, 4173, 5331, 5307, 8589, 7067, 'u', 8543, '4029', 'C', 'c', '3735', 'F', 'P', '6489', 'x', 'R', '8225', 'S', 'O', '8797', 'b', '2799', '4967', '653', 'k', '8993', '493', 'O', 'e', 3355, 6925, 4047, 1911, 9227, 'F', 'b', 6205, 'S', 'm', 'E', 'a', 8093, 277]

Ex Output:
4029, C, c, 3735, F, P, 6489, x, R, 8225, S, O, 8797, b, 2799, 4967, 653, k, 8993, 493, O


Ex Input:
[1635, 8969, '13', '3709', 'K', 'z'], ['Q', 'l', '13', '3709', 'j', 'U']

Ex Output:

13, 3709