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

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

Ex Input:
[787, 577, 1283, 10019, '3229', 'C', 'b', '8319', 'j', 7553, 8091], [4091, 1749, 'L', 'A', '3229', 'C', 'b', '8319', 'U', 9603]

Ex Output:
3229, C, b, 8319

Ex Input:
[6077, 1965, 8067, 1587, 529, 6801, 3445, 7875, 'K', 1843, 5237, 'b', 'T', '5291', 'm', 'c', '3705', 'e', '9575', 'R', '3987', '7293', '3139', '3663', '5983', 'W', 'B', '5849', 'N', 'q', '665', 'K', '665', '4303', '5763', 'K', 'k', 'w', 'p', 17, 'E', 'h', 9059, 1239, 2507, 1063, 2313, 1999, 4269, 'm', 7539, 'T', 'n'], [9051, 4265, 8895, 'w', 5605, 4307, 5171, 1937, 'c', 5669, 5293, 7877, 'A', '5291', 'm', 'c', '3705', 'e', '9575', 'R', '3987', '7293', '3139', '3663', '5983', 'W', 'B', '5849', 'N', 'q', '665', 'K', '665', '4303', '5763', 'K', 'k', 'w', 'x', 'Y', 'o', 'n', 8303, 4123, 9855, 629, 6499, 'c', 'a', 'l']

Ex Output:
5291, m, c, 3705, e, 9575, R, 3987, 7293, 3139, 3663, 5983, W, B, 5849, N, q, 665, K, 665, 4303, 5763, K, k, w