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

Ex Input:
[7231, 2153, '3257', '3693', 'P', 3291], [1543, 6411, '3257', '3693', 'G', 'k']

Ex Output:
3257, 3693


Ex Input:
[4339, 'i', 7857, 315, 'W', '3573', '689', 'y', '9557', 'J', 'b', '2185', 'i', 7649, 'F', 'g', 6973], ['r', 5097, 5467, 't', 'N', 'Y', 'W', '3573', '689', 'y', '9557', 'J', 'b', '2185', 'l', 837, 643, 2055, 'J', 'I']

Ex Output:
W, 3573, 689, y, 9557, J, b, 2185


Ex Input:
[1119, 4237, 4525, 'q', 'D', 'u', '1715', '3429', '2773', 'X', '645', 'L', 'K', 'y', 'F', '5205', 'S', 'v', '3415', 'I', 'R', '2591', 'p', '6557', 'G', '5979', 'V', 'j', 'U', '3561', 'O', 1835, 4941, 'u', 9975, 1093, 725, 'V', 'l', 4621, 6475, 9279, 9619, 'Z', 'B', 3633], ['a', 'B', '1715', '3429', '2773', 'X', '645', 'L', 'K', 'y', 'F', '5205', 'S', 'v', '3415', 'I', 'R', '2591', 'p', '6557', 'G', '5979', 'V', 'j', 'U', '3561', 'C', 5489, 731, 6355, 'i', 3553, 8189, 'l', 2183, 419, 'f', 2833, 7039, 'r', 2209, 'v', 'Z', 1459]

Ex Output:

1715, 3429, 2773, X, 645, L, K, y, F, 5205, S, v, 3415, I, R, 2591, p, 6557, G, 5979, V, j, U, 3561