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

Ex Input:
['o', 'R', 'l', 'y', 8351, 3995, 8667, 'X', 'r', 7749, 's', 9049, 'X', 10021, 'L', '295', 'M', '6251', 'k', '925', '9911', '6105', 'o', '7871', 'T', 'h', '7613', '2341', '4205', 'L', 'j', 'F', 4501, 'N', 'g', 'k', 1891, 8829, 'h', 4055], [3261, 'x', 5565, 'e', 773, 'j', 'h', 317, 5829, 'k', 's', 'I', 2339, 3391, 'L', 'U', 2339, 'L', '295', 'M', '6251', 'k', '925', '9911', '6105', 'o', '7871', 'T', 'h', '7613', '2341', '4205', 'L', 'j', 'g', 5447, 9137, 5965, 'F', 7181, 7811, 9655, 8301, 6751, 't', 1153, 657]

Ex Output:
L, 295, M, 6251, k, 925, 9911, 6105, o, 7871, T, h, 7613, 2341, 4205, L, j


Ex Input:
['P', 6481, 'O', 6003, 1505, 'G', 3907, 'c', 5741, 3, '4963', '1225', '4331', '1287', 'v', '8479', 'y', '673', 'M', 'V', '8307', 'C', '7931', 'z', 'Z', 'P', 'i', 9259, 'T'], [3141, 4731, 4787, 6417, 8539, 3015, 3437, 6005, 'w', '4963', '1225', '4331', '1287', 'v', '8479', 'y', '673', 'M', 'V', '8307', 'C', '7931', 'z', 'k', 6421, 645, 6161, 'm']

Ex Output:
4963, 1225, 4331, 1287, v, 8479, y, 673, M, V, 8307, C, 7931, z


Ex Input:
['v', 3031, 4597, 9167, 2819, 6579, 9833, 'V', 1075, 'Z', 1165, 'p', 'D', 'd', 2581, 'O', 'N', 'K', 'v', 'n', '7015', '6257', 'g', 'Q', '211', 'y', '1113', 'q', '2123', '6811', '1569', '8429', 'J', '469', 'e', 'p', 7167, 'f', 'Y', 'U', 4345, 'N', 'c', 7487, 'u', 7479, 3725, 'f', 8397, 'h', 'g', 'S', 6485, 6627], ['W', 'M', 6271, 'R', 'D', 1563, 'Q', 9689, 2917, 3505, 'y', 5747, 'N', 'K', 'v', 'n', '7015', '6257', 'g', 'Q', '211', 'y', '1113', 'q', '2123', '6811', '1569', '8429', 'J', '469', 'e', 'm', 'D', 'l', 4741, 1321, 'f', 'M']

Ex Output:

N, K, v, n, 7015, 6257, g, Q, 211, y, 1113, q, 2123, 6811, 1569, 8429, J, 469, e