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

Ex Input:
['H', 'z', 'i', 2235, 'F', 7863, 5279, 6871, 6305, 545, 'i', 'x', 1179, 4813, 7929, 9261, 'm', 'w', '8797', '6621', 'o', '9615', 'Q', '3235', '5995', '939', 't', 'T', 'g', 'c', '4047', 'm', 'V', 'P', '8637', 's', 'Z', 'G', 6405, 1707], [9085, 4723, 'q', 'i', 'w', 5997, 'w', 'H', 'N', 'v', 4797, 5633, 7441, 'O', 9121, 'h', 9939, 'w', '8797', '6621', 'o', '9615', 'Q', '3235', '5995', '939', 't', 'T', 'g', 'c', '4047', 'm', 'V', 'P', '8637', 'o', 2775, 5765, 'H', 309, 609, 9481, 'x']

Ex Output:
w, 8797, 6621, o, 9615, Q, 3235, 5995, 939, t, T, g, c, 4047, m, V, P, 8637


Ex Input:
[4803, 'S', 6357, 7491, 8573, 'O', 9721, 'j', 6491, 'Y', 2083, 8345, 893, 'N', 953, '4031', 'q', 'i', '5741', 'u', '5545', 'Z', 'h', 'a', 'q', 'B', 'V', '4963', '1073', '597', 'h', 'T', '7285', 'Z', '471', '6717', '8125', '5031', 'd', 'a', 'j', 'R', 'F', 8959, 't', 2649, 'T', 6075, 'K', 2981, 'Q', 9069, 'S', 5253, 3581, 8697, 5461, 9309, 2107, 'D', 617], ['R', 'Z', 5655, 7575, 'Q', 'f', 'U', '4031', 'q', 'i', '5741', 'u', '5545', 'Z', 'h', 'a', 'q', 'B', 'V', '4963', '1073', '597', 'h', 'T', '7285', 'Z', '471', '6717', '8125', '5031', 'J', 'w', 'V', 'T', 1243, 3949, 7619, 3707, 'd', 'C', 'd', 'B', 4657, 'U', 'c', 5465, 6961, 'x', 'L', 'e', 'j']

Ex Output:
4031, q, i, 5741, u, 5545, Z, h, a, q, B, V, 4963, 1073, 597, h, T, 7285, Z, 471, 6717, 8125, 5031


Ex Input:
['f', 'v', 'q', 7177, 5927, 2407, 'C', 61, 'B', 9687, 2079, '3107', 'S', '553', '2113', 'g', '5031', 'U', 'm', '9357', 'g', 'v', '4209', 'G', '497', '5625', 'r', '5299', '4813', '2029', 'F', '9353', 'V', '6649', '3357', '1571', 'A', '4683', '5539', 'p', 'E', 'C', 'N', 253, 4113, 'k'], ['R', 3759, 6939, 6109, 7093, 'c', '3107', 'S', '553', '2113', 'g', '5031', 'U', 'm', '9357', 'g', 'v', '4209', 'G', '497', '5625', 'r', '5299', '4813', '2029', 'F', '9353', 'V', '6649', '3357', '1571', 'A', '4683', '5539', 'p', 'E', 'e', 2921, 3829, 's', 'Y', 'B', 687, 'G', 7873, 'J', 5273, 'm', 'o', 'V', 5851, 'a', 4201, 'B', 8541, 9143, 4341, 'g', 3831, 'i', 'l', 'D', 8979, 'q', 'a']

Ex Output:

3107, S, 553, 2113, g, 5031, U, m, 9357, g, v, 4209, G, 497, 5625, r, 5299, 4813, 2029, F, 9353, V, 6649, 3357, 1571, A, 4683, 5539, p, E