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

Ex Input:
[8967, 95, 'd', 5595, 8365, 5089, 3537, '1473', '6003', '8739', 'a', '1491', 'o', '381', 'a', 'L', 'E', 'b', 'i', 'j', 'i', 'R', 'b', 'C', 'w', 'u', 'W'], [4525, 'J', '1473', '6003', '8739', 'a', '1491', 'o', '381', 'a', 'L', 'E', 'b', 'A', 625, 'H', 'Y', 'm', 3291, 'a', 'c', 3441]

Ex Output:
1473, 6003, 8739, a, 1491, o, 381, a, L, E, b


Ex Input:
[6135, 2759, 'f', 8389, 9699, 'T', '93', '9827', 'H', 'K', '5191', 'x', '7725', 'b', '8147', 'o', '7759', '8341', '8771', 'k', '4717', 't', 'w', 'E', 8375, 2917], ['V', 'C', 'g', 'Y', 3903, 6561, 'a', 'N', 1723, 8443, 'Y', 'Q', 'D', 'c', 'j', 5893, 5679, '93', '9827', 'H', 'K', '5191', 'x', '7725', 'b', '8147', 'o', '7759', '8341', '8771', 'k', '4717', 't', 'w', 'D', 8567, 3597, 'e', 2223, 8453, 4659, 9767, 9347, 'x', 5879, 'D', 'T']

Ex Output:
93, 9827, H, K, 5191, x, 7725, b, 8147, o, 7759, 8341, 8771, k, 4717, t, w


Ex Input:
[375, 'C', 'y', 'l', 'o', 'L', 'M', '9313', 'M', 'u', 'r', '215', 'x', 'M', 'n', 1461, 5673, 'b', 7133, 'C', 'J'], [9947, 'Q', 'L', 'r', 'L', 'M', '9313', 'M', 'u', 'r', '215', 'x', 'M', 'B', 1261, 'a', 895, 'i', 't', 'O', 5737]

Ex Output:

L, M, 9313, M, u, r, 215, x, M