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

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:
[6183, 4797, '4489', 'H', '1839', 'C', '5943', 'D', '2243', 'v', 'R', '2369', '653', 'Z', '4951', 'o', '5709', 'E', '6715', 'E', 'O', 'd', '9889', 'I', 'L', 'f', 2015], ['U', 'Z', 'q', 583, 'T', 'L', 5311, 'L', 't', 'A', 'W', 6061, 9623, 'x', '4489', 'H', '1839', 'C', '5943', 'D', '2243', 'v', 'R', '2369', '653', 'Z', '4951', 'o', '5709', 'E', '6715', 'E', 'O', 'd', '9889', 'I', 'q', 'X', 9877, 8877, 'R', 5899]

Ex Output:
4489, H, 1839, C, 5943, D, 2243, v, R, 2369, 653, Z, 4951, o, 5709, E, 6715, E, O, d, 9889, I


Ex Input:
[145, 'v', 's', 711, 'I', 6775, 'e', 's', 2987, 3297, 'l', 8235, 'q', 'M', 7383, 'm', 3555, 1357, 6717, 'o', 9081, '4145', '1597', '8749', 'Y', '9419', 'A', '449', '2257', 'L', 's', 'z', 'k', '453', '8797', '8507', 'E', 'X', 'n', '4611', 'Y', 'j', '2773', 'V', 'k', 'M', 'w', 4887, 'o'], [9163, 6277, 5371, 5129, 'g', 2861, 6393, 'e', 4299, 7021, 'u', 2335, 'p', 2167, 3143, 'U', 4009, 'q', '4145', '1597', '8749', 'Y', '9419', 'A', '449', '2257', 'L', 's', 'z', 'k', '453', '8797', '8507', 'E', 'X', 'n', '4611', 'Y', 'j', '2773', 'V', 'k', 'M', 'V', 'r', 'n', 't', 's', 2585, 4355, 'q', 8533, 5875, 8967, 't', 'o', 8599, 3685, 3843, 'O', 9949, 435, 'b', 7325, 'i']

Ex Output:

4145, 1597, 8749, Y, 9419, A, 449, 2257, L, s, z, k, 453, 8797, 8507, E, X, n, 4611, Y, j, 2773, V, k, M