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

Ex Input:
['N', 'b', 'T', 5873, 'o', 'v', 6747, 1915, 953, '5629', '7539', '1221', 'r', '4845', 'b', 'V', '2341', '6775', '2837', 'i', '4527', 'W', '3441', '2797', '8519', 'i', '9429', '10017', 'N', 'h', 'M', '7353', 'A', 'x', 'N', 4753, 'B', 1137, 'H', 'l', 'S', 5559, 8885, 373, 8291, 5213, 'K', 1901, 'g'], ['s', 4407, 2767, 'k', 6015, 7131, 'g', 'v', 6523, 9635, 8915, 6313, 'x', 'O', 9993, 'd', 'Y', 307, 'U', '5629', '7539', '1221', 'r', '4845', 'b', 'V', '2341', '6775', '2837', 'i', '4527', 'W', '3441', '2797', '8519', 'i', '9429', '10017', 'N', 'h', 'M', '7353', 'm', 'c', 3281, 2229, 'W', 1113, 169, 'k', 'R', 1277, 'c', 'L', 'q', 'Q', 'Q', 'C', 'Y', 'j']

Ex Output:
5629, 7539, 1221, r, 4845, b, V, 2341, 6775, 2837, i, 4527, W, 3441, 2797, 8519, i, 9429, 10017, N, h, M, 7353


Ex Input:
[2975, 3781, 'D', 'd', 'K', 4033, '3783', 'n', 'k', '327', 't', '9871', '233', 's', 'e', 'P', 3411, 'J', 'e'], [4339, 2811, '3783', 'n', 'k', '327', 't', '9871', '233', 'l', 'f', 4263, 7913]

Ex Output:
3783, n, k, 327, t, 9871, 233


Ex Input:
[4061, 1529, 'a', 'L', 'F', 'n', '3643', 'S', 9817, 'G', 'T'], [4683, 'd', 'V', 'a', 'L', 'F', 'n', '3643', 2037, 3873, 4119, 6985, 'y']

Ex Output:

a, L, F, n, 3643