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

Ex Input:
[5401, 'j', 'y', 'I', 'X', 'o', 'P', 'F', 'Z', 'N', '3703', 'V', 'b', 'I', '6417', 'c', '5287', 'K', '9693', 'r', 'Z', 'F', 2683, 8021, 'c', 8229, 1989, 'm', 'r', 'O', 393, 2007, 9669, 'g', 8273], [6117, 7069, 'N', 'b', 7691, 3999, 8865, 1449, 'J', 'H', 'n', 'S', 7143, 6141, 2137, 'I', 'X', 'o', 'P', 'F', 'Z', 'N', '3703', 'V', 'b', 'I', '6417', 'c', '5287', 'K', '9693', 'h', 4013, 9577, 3799]

Ex Output:
I, X, o, P, F, Z, N, 3703, V, b, I, 6417, c, 5287, K, 9693


Ex Input:
['Z', 't', 8725, 'H', 6417, 7935, 'r', '831', 'c', '8509', '8765', '847', '9425', '3691', 'h', 'O', 'j', 'G'], [1931, 'E', 'Y', 9491, '831', 'c', '8509', '8765', '847', '9425', '3691', 'M', 8629, 'z', 'j', 3887]

Ex Output:
831, c, 8509, 8765, 847, 9425, 3691


Ex Input:
['z', 83, 'D', 3813, 7103, 'd', 'Z', 'q', 'L', 'W', 'l', 'n', 8661, 'K', 8383, 9283, 9479], ['n', 'n', 9271, 75, 913, 'd', 'Z', 'q', 'L', 'W', 'l', 'b', 'k', 5595, 8539]

Ex Output:

d, Z, q, L, W, l