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

Ex Input:
[161, 4197, 9653, 'B', 7407, 'S', 'o', 4111, 2533, 5853, 2689, 3885, 4663, 7917, 2761, '8061', '2211', 'w', 'O', 'z', 'G', 'F', '1055', '5895', 'J', 'L', '2759', 'l', 'e', '3601', 'G', 833, 'J', 6547, 1275, 'u', 'z', 4137, 1605, 'm', 'c', 7401, 4119, 's'], [6981, 'L', 'b', 'B', 1803, 1413, 5191, 'i', '8061', '2211', 'w', 'O', 'z', 'G', 'F', '1055', '5895', 'J', 'L', '2759', 'l', 'e', '3601', 't', 't', 'n']

Ex Output:
8061, 2211, w, O, z, G, F, 1055, 5895, J, L, 2759, l, e, 3601


Ex Input:
[8521, 7389, 'Z', 959, 4009, 4683, 'y', '4295', '5675', 'a', '5585', 'q', '5785', '9081', 'U', 's', 'i', 'D', 2717, 'P', 3531, 8889], ['Y', 4689, 'H', 'h', 3485, 1659, '4295', '5675', 'a', '5585', 'q', '5785', '9081', 'U', 's', 'm', 'k', 3777, 'l', 4497, 5837, 7061]

Ex Output:
4295, 5675, a, 5585, q, 5785, 9081, U, s


Ex Input:
[1033, 3483, 7931, 6255, 2409, 'C', 1515, 6815, 6757, 7733, 647, 3591, '1383', '1951', 'r', '855', '5459', '9007', 'S', '9875', '4713', 'Q', '6117', 'w', 'e', 'e', 'R'], [4995, 1711, 6933, 'u', 8375, 'f', 'z', 3823, 'S', 1105, '1383', '1951', 'r', '855', '5459', '9007', 'S', '9875', '4713', 'Q', '6117', 'w', 'R', 6311, 'y', 'V', 'u', 9955, 9879]

Ex Output:

1383, 1951, r, 855, 5459, 9007, S, 9875, 4713, Q, 6117, w