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

Ex Input:
['y', 'b', 'A', 'K', 887, '9169', '1575', '5233', '1749', '5739', 'A', 'V', 8989], [3381, 5213, 9463, 8631, 2091, '9169', '1575', '5233', '1749', '5739', 'h', 1679, 8181]

Ex Output:
9169, 1575, 5233, 1749, 5739


Ex Input:
[2803, 'l', 8379, 'r', 'b', 2363, 'P', 'K', 's', 3999, 't', 167, 'N', '9089', '4973', '7373', '8759', 'W', 'r', '6259', '9427', 'c', 'Q', '2311', '5829', 'O', '7913', '1539', 'r', 'e', 'd', '9025', 'M', 7681, 'e', 'm', 'a', 1365, 'm', 'm', 'v', 'P', 'M', 3649, 7257, 'q', 9843, 831, 'U', 'b'], ['A', 'm', 9121, 'h', 'p', 'k', 'P', 4077, 'd', 3595, 1689, 'D', 'C', 'l', 'I', 'Y', 'N', '9089', '4973', '7373', '8759', 'W', 'r', '6259', '9427', 'c', 'Q', '2311', '5829', 'O', '7913', '1539', 'r', 'e', 'd', '9025', 'K', 2849, 'i', 'K', 'N', 'u', 1811, 967, 2799, 'u', 'C', 637, 1911, 6151, 'L']

Ex Output:
N, 9089, 4973, 7373, 8759, W, r, 6259, 9427, c, Q, 2311, 5829, O, 7913, 1539, r, e, d, 9025


Ex Input:
[7895, 3277, 4453, 8001, 3249, 8861, 8095, 6707, 7707, 6229, 'N', '8179', '1801', 'm', '8015', 'd', '4081', '4825', '4959', 'e', 'W', '7321', 'o', '1247', '10025', '7661', 'z', 'e', 'A', '3033', 'H', 'H', '6305', 'y', '7569', 'Q', 207, 3235, 5207, 2349, 3663, 3563, 4147, 707, 'x', 'j', 2787, 7923, 'J', 6673, 'X', 4963], ['l', 8291, 'r', 9185, 'B', 9975, 9663, 'U', 'O', 'Z', '8179', '1801', 'm', '8015', 'd', '4081', '4825', '4959', 'e', 'W', '7321', 'o', '1247', '10025', '7661', 'z', 'e', 'A', '3033', 'H', 'H', '6305', 'y', '7569', 'a', 'G', 'S', 185, 8775, 'y', 1691]

Ex Output:

8179, 1801, m, 8015, d, 4081, 4825, 4959, e, W, 7321, o, 1247, 10025, 7661, z, e, A, 3033, H, H, 6305, y, 7569