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

Ex Input:
[2585, 'R', 'a', 9005, 829, 1751, 'I', 'G', '6211', '5597', '9283', '3429', 'T', 'K', '4887', '4679', '5705', 'u', 'p', 'c', '6329', '6259', 't', 'p', 'I', 'E', 'S', '3507', 'Q', 'K', 1021, 635, 'L', 'r', 'D', 6997, 4363, 'm', 2661, 7933, 'v'], [2855, 'Q', 7207, 'F', 9581, 9807, 3127, 6695, 4363, 'V', 'd', 2791, 't', 4507, 1047, 5959, 2697, 6393, 1751, 5521, 'S', 'G', '6211', '5597', '9283', '3429', 'T', 'K', '4887', '4679', '5705', 'u', 'p', 'c', '6329', '6259', 't', 'p', 'I', 'E', 'S', '3507', 'C', 437, 'c', 63, 469, 'R', 'I', 10007, 'B', 'S', 4919, 'V', 7431, 9317, 9909, 421, 'J', 't', 'O', 'r', 3653]

Ex Output:
G, 6211, 5597, 9283, 3429, T, K, 4887, 4679, 5705, u, p, c, 6329, 6259, t, p, I, E, S, 3507


Ex Input:
['X', 'U', 'Z', 9489, '4623', 'M', 'd', '5977', '7669', '8583', '2455', 'D', 'j', 'c', 'U', 'p', 'R', 609, 4535, 4269, 8941, 'I', 2091, 'Q'], [3721, 8573, 8821, 6095, 1215, 1195, '4623', 'M', 'd', '5977', '7669', '8583', '2455', 'D', 'j', 'c', 'L', 'm', 'q', 'j', 697, 3367, 'R']

Ex Output:
4623, M, d, 5977, 7669, 8583, 2455, D, j, c


Ex Input:
[5961, 'f', 'q', 4223, 6627, 7967, 'S', 'm', 6715, 'p', 'D', 7761, 'X', 'V', '8667', '9807', '251', 'T', '6933', 'O', '10023', '4607', 'l', 'Z', '7281', 'B', 'k', 'j', '4347', 'g', 'J', '7979', '3521', '9145', '6885', '6085', 'W', 9087, 'N', 'S', 'Z', 7023, 'N', 1957, 'V', 1163, 9887, 'L', 'z', 'u', 'x', 9121, 'f', 'D'], ['o', 'f', 3663, 7053, 'P', 'n', 'g', 'I', 'G', 'F', 'D', 'X', 'V', '8667', '9807', '251', 'T', '6933', 'O', '10023', '4607', 'l', 'Z', '7281', 'B', 'k', 'j', '4347', 'g', 'J', '7979', '3521', '9145', '6885', '6085', 'N', 'n', 'S', 8381, 8935, 'k', 'h', 3249, 5381, 7023, 'E', 4039, 'V', 7987, 'h', 4217, 'A', 6737, 't', 5305]

Ex Output:

X, V, 8667, 9807, 251, T, 6933, O, 10023, 4607, l, Z, 7281, B, k, j, 4347, g, J, 7979, 3521, 9145, 6885, 6085