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

Ex Input:
[4731, 'z', 8923, 1325, 'P', 8435, 'u', 'B', 'N', 8191, 'O', '3019', '4077', 'w', 'W', 'x', 'z', '2233', '6509', 'N', '3069', '5471', 'K', 'x', 'q', '979', 'M', 'O', 'H', 9453], [4977, 'E', 4865, 'O', '3019', '4077', 'w', 'W', 'x', 'z', '2233', '6509', 'N', '3069', '5471', 'K', 'x', 'q', '979', 'M', 'R', 'T', 7065]

Ex Output:
O, 3019, 4077, w, W, x, z, 2233, 6509, N, 3069, 5471, K, x, q, 979, M


Ex Input:
[6403, 3483, 'Z', 'l', '1385', '5787', '7377', '9385', '1545', '1079', 'C', 'K', 'f', 'O', 'W', '3253', 'Y', '2727', '3679', 'C', '4251', '3803', 'y', 'p', 'H', 'U', 9679, 'k', 'K', 3073, 3011, 'u', 'p', 'N', 2433, 9787, 3981, 363], ['n', 'n', 2201, 4585, 'Z', 'q', 921, 'S', 5417, 'l', '1385', '5787', '7377', '9385', '1545', '1079', 'C', 'K', 'f', 'O', 'W', '3253', 'Y', '2727', '3679', 'C', '4251', '3803', 'y', 'p', 'H', 'u', 'P', 4041, 6681, 'n', 'M', 8035]

Ex Output:
l, 1385, 5787, 7377, 9385, 1545, 1079, C, K, f, O, W, 3253, Y, 2727, 3679, C, 4251, 3803, y, p, H


Ex Input:
[1391, 'S', 'U', 9295, 1607, 't', 5393, 9023, 6693, 'h', '7413', '1677', '1253', 'b', 'K', '9955', '7727', '3997', '6617', 'F', 'y', 'Z', 'I', 'J'], [7515, 5565, 9331, 'h', 109, 'n', '7413', '1677', '1253', 'b', 'K', '9955', '7727', '3997', '6617', 'F', 'y', 'O', 'S', 'R']

Ex Output:

7413, 1677, 1253, b, K, 9955, 7727, 3997, 6617, F, y