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

Example Input: ['d', 897, 't', 1807, 'k', 'P', '5013', '1811', '9411', 'U', 'z', '2793', '3221', '5643', 'j', '1793', '9507', 'J', '6147', 'i', '4383', '723', 'z', 'c'], [2741, 'D', 5443, 'Z', 'k', 129, 3339, 'k', 'T', 'P', '5013', '1811', '9411', 'U', 'z', '2793', '3221', '5643', 'j', '1793', '9507', 'J', '6147', 'i', '4383', '723', 'd', 4353]
Example Output: P, 5013, 1811, 9411, U, z, 2793, 3221, 5643, j, 1793, 9507, J, 6147, i, 4383, 723

Example 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]
Example Output: L, 295, M, 6251, k, 925, 9911, 6105, o, 7871, T, h, 7613, 2341, 4205, L, j

Example Input: [2347, 'V', 'S', 'u', 'P', 'j', 1921, 'G', 'l', 2201, 3167, 4757, 3715, 1227, 7531, 7437, '3027', 'z', 'R', '5661', 'J', '2403', 's', 'Y', 'y', 'F', 'o', '4535', 'e', '6465', 'l', '107', '9423', '845', 'b', 'f', 'W', 3519, 'G', 2779, 5691, 'L', 'X', 'u', 'P', 2403, 4969], ['s', 'T', 3587, '3027', 'z', 'R', '5661', 'J', '2403', 's', 'Y', 'y', 'F', 'o', '4535', 'e', '6465', 'l', '107', '9423', '845', 'c', 365, 'Z', 'J', 9191, 1731, 'S']
Example Output:
3027, z, R, 5661, J, 2403, s, Y, y, F, o, 4535, e, 6465, l, 107, 9423, 845