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

Ex Input:
['i', 'n', '7509', '7241', 'V', 'k', 205, 'H'], ['s', 4349, 7023, '7509', '7241', 'V', 'O', 't', 9237]

Ex Output:
7509, 7241, V


Ex Input:
['J', 6791, 'x', 'f', 'n', '5565', '4103', 'q', 'n', 'h', '625', '2981', '3243', 'q', '2705', '5505', 's', '4423', 'j', '9819', '3841', 'Z', 'i', 'n', 'R', 9199, 455, 'i'], [4051, 8463, 'i', 6667, 'N', 'k', 'X', 2629, 'I', 'O', 5057, 1059, 4265, 'B', 3819, 'c', 9941, 'R', 'a', 5545, 'x', 'f', 'n', '5565', '4103', 'q', 'n', 'h', '625', '2981', '3243', 'q', '2705', '5505', 's', '4423', 'j', '9819', '3841', 'Z', 'a', 9953, 6229, 'F', 2985]

Ex Output:
x, f, n, 5565, 4103, q, n, h, 625, 2981, 3243, q, 2705, 5505, s, 4423, j, 9819, 3841, Z


Ex Input:
['Q', 3173, 5569, 'j', 'C', 'u', 'H', 't', 'p', 717, 'f', 4031, 7993, 'V', 'X', 'D', 179, 'H', '8801', '9387', 'L', '9007', '8893', 'z', 'u', 'Q', '4673', '8519', 'H', 'y', 'K', 'O', 'w', 'U', '6865', '8945', '277', 'g', 7795, 'L', 8631, 'r'], [4503, 'd', 'O', 1583, 'H', '8801', '9387', 'L', '9007', '8893', 'z', 'u', 'Q', '4673', '8519', 'H', 'y', 'K', 'O', 'w', 'U', '6865', '8945', '277', 'v', 6887, 9023]

Ex Output:

H, 8801, 9387, L, 9007, 8893, z, u, Q, 4673, 8519, H, y, K, O, w, U, 6865, 8945, 277