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

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:
['L', 5499, 'z', 'J', 'I', 't', 6291], [337, 5087, 'z', 'J', 'I', 'p', 'm']

Ex Output:
z, J, I


Ex Input:
[9827, 'n', 6173, 4987, 8321, 9045, '9959', 'g', 'E', 'A', 'z', '751', 'a', '9123', 'P', '7099', 'a', 7233, 8021, 2951], [4185, 7021, 7351, 1995, 'W', 1299, 5123, 'l', 'J', '9959', 'g', 'E', 'A', 'z', '751', 'a', '9123', 'P', '7099', 'R', 'z', 'C', 7253, 'l', 9757, 2759]

Ex Output:

9959, g, E, A, z, 751, a, 9123, P, 7099