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

Ex Input:
[6529, 'i', 8343, 't', 'h', 5181, 'k', '5863', 'm', 'P', '9787', 'r', '1383', 'U', 'a', 'p', 'T', '1635', 'J', 'X', 'O', 'E', 'W', 625, 'O', 'm'], [4169, 8965, 6125, 'U', 'x', 'E', 7203, 'I', 81, 'P', 'r', 8581, 'k', '5863', 'm', 'P', '9787', 'r', '1383', 'U', 'a', 'p', 'T', '1635', 'J', 'X', 'O', 'v', 'f', 'q', 'b', 'm', 'f', 9239, 'b', 895, 703, 7809, 'E', 'l', 'c', 7915]

Ex Output:
k, 5863, m, P, 9787, r, 1383, U, a, p, T, 1635, J, X, O


Ex Input:
[2449, 'h', 'F', 2217, 'G', 2655, 'k', 'Y', '8427', '2933', 'x', '2689', '9305', 'L', '9263', '2671', 'q', 9553, 4023, 127], [849, 7901, 'd', '8427', '2933', 'x', '2689', '9305', 'L', '9263', '2671', 'r', 'A', 'F']

Ex Output:
8427, 2933, x, 2689, 9305, L, 9263, 2671


Ex Input:
[1597, 1193, 'N', 'V', 'H', 6781], [5719, 7707, 'N', 'V', 'e', 1985]

Ex Output:

N, V