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:
['o', 'k', '8037', '2095', 'E', 'l'], [4673, 'J', '8037', '2095', 't', 'F']

Ex Output:
8037, 2095


Ex Input:
[2365, 'j', 2981, 2539, 4117, 3661, 'm', 6207, 'Z', 165, 8661, 'z', 'd', 'N', 'U', '2239', 'n', '8647', 't', '511', 'W', 'W', 'b', '3343', 'k', '5111', 'x', '3707', 'J', 'f', '1891', '9623', 'Y', 'Y', '4197', '2455', 'E', '1359', '5757', '4869', '4469', 'F', 'H', 157, 'b', 8003, 9429, 'W', 5227, 'F', 8163, 9401, 4147, 'P', 'z', 8643, 8837, 2927, 6611, 5463, 'z', 3537, 6063, 'e', 'S'], ['U', 'x', 'h', 'Z', 2969, 'n', 'K', 5123, 'z', 1807, 5885, 7899, 'W', 9925, 8159, 4641, 'V', 'z', 7195, 'Q', 8069, 'H', 's', 6017, 'h', 'a', 'U', '2239', 'n', '8647', 't', '511', 'W', 'W', 'b', '3343', 'k', '5111', 'x', '3707', 'J', 'f', '1891', '9623', 'Y', 'Y', '4197', '2455', 'E', '1359', '5757', '4869', '4469', 'K', 's', 'f', 'f', 'j', 'm']

Ex Output:

U, 2239, n, 8647, t, 511, W, W, b, 3343, k, 5111, x, 3707, J, f, 1891, 9623, Y, Y, 4197, 2455, E, 1359, 5757, 4869, 4469