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

Input: Consider Input: [6211, 8013, 7837, 3385, 'z', 7301, 'D', 'Y', 'Q', 'Y', 'W', '473', '9037', 'K', 'V', '7669', 'R', '6605', 'I', 'k', 5831], ['A', 'N', 'I', 4579, 'R', 'P', 4559, 3977, 'Y', 'W', '473', '9037', 'K', 'V', '7669', 'R', '6605', 'D', 7909, 'x']

Output: Y, W, 473, 9037, K, V, 7669, R, 6605


Input: Consider Input: ['J', 'A', 7687, 281, 'v', 'P', 'i', 7785, 'J', 'Y', 3523, '355', '7389', 'Q', '4119', 'I', 'r', '6615', '8467', 'C', '9539', '4047', 'F', 'B', '2161', 'm', 'W', 'C', 'O', '7731', '3331', 'i', 267, 'p', 4649, 'n', 'H', 'y', 2593, 4947, 3199, 7407, 8623, 'S'], ['T', 9895, 1551, 'O', 5617, 'p', '355', '7389', 'Q', '4119', 'I', 'r', '6615', '8467', 'C', '9539', '4047', 'F', 'B', '2161', 'm', 'W', 'C', 'O', '7731', '3331', 'S', 'C', 2099, 6507, 489, 9845, 6641, 2521]

Output: 355, 7389, Q, 4119, I, r, 6615, 8467, C, 9539, 4047, F, B, 2161, m, W, C, O, 7731, 3331


Input: Consider Input: [6911, 1335, 1943, 5933, 'C', 'p', 9711, 'A', 2859, '6005', 'b', 'O', 'V', 'Z', '1359', '6251', '6755', '2757', 'h', '1877', 'g', 'J', 'f', '787', '547', 'f', '9499', '2933', 'r', 7963, 2317, 'e', 6511, 'W'], ['x', 'O', 4283, 3629, 'm', 'e', 1345, 7475, 'h', 's', 2637, 1491, 5149, '6005', 'b', 'O', 'V', 'Z', '1359', '6251', '6755', '2757', 'h', '1877', 'g', 'J', 'f', '787', '547', 'f', '9499', '2933', 'U', 'r', 'd', 4729, 5027, 'N']


Output: 6005, b, O, V, Z, 1359, 6251, 6755, 2757, h, 1877, g, J, f, 787, 547, f, 9499, 2933