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

Ex Input:
[2227, 8603, '9943', 'E', '4351', 't', 'l', 'x'], [5983, 'q', '9943', 'E', '4351', 'V', 4367]

Ex Output:
9943, E, 4351


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:
['e', 2073, 'B', 'H', 3201, 'U', 4837, 2733, 'z', 'l', 'i', 7425, 'c', 6237, 2875, 3947, 'P', 8357, 1025, 'o', 4511, 9091, 8851, 'U', 5957, 'T', 'B', '747', 'f', 'x', 'q', '6625', '5973', '3819', '2977', 'A', 'O', 'N', '4145', 'P', '813', 'G', '1191', 'k', 'p', 'Y', '6057', 'a', '8059', '1377', '7007', '6163', 'O', 'B', 'm', 'P', 961, 9953, 'M', 9425, 3639, 4237, 9125, 'x', 'd', 'a', 7075, 595, 'W', 'x', 8761, 1105, 'x', 'y', 'S', 4219, 2349, 3479], [4861, 9951, 'Y', 7817, 4611, 4333, 'g', 'n', 5933, 'x', 3137, 2753, 'm', 'R', 'Z', 'u', 'i', 9437, 2589, 6993, '747', 'f', 'x', 'q', '6625', '5973', '3819', '2977', 'A', 'O', 'N', '4145', 'P', '813', 'G', '1191', 'k', 'p', 'Y', '6057', 'a', '8059', '1377', '7007', '6163', 'O', 'B', 'u', 9655, 7321, 'S', 'R', 'e', 5183, 8673, 4193, 'M']

Ex Output:

747, f, x, q, 6625, 5973, 3819, 2977, A, O, N, 4145, P, 813, G, 1191, k, p, Y, 6057, a, 8059, 1377, 7007, 6163, O, B