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

Ex Input:
[4693, 'L', 7881, 9637, 'y', 's', 1851, '7315', 'i', 'I', '9393', '79', '279', '4549', '7217', '897', '2329', '5301', '3337', '9273', 'Z', 'a', 5545, 6795], ['t', 'W', 4149, 'h', 'M', 'A', 4569, 2677, '7315', 'i', 'I', '9393', '79', '279', '4549', '7217', '897', '2329', '5301', '3337', '9273', 'r', 2423, 6015, 3755, 6699, 'p', 39, 'h', 'b']

Ex Output:
7315, i, I, 9393, 79, 279, 4549, 7217, 897, 2329, 5301, 3337, 9273


Ex Input:
[5599, 'o', 'p', 'T', 'o', 'p', 'B', 'M', '283', 'R', 'a', '9671', '8125', 'D', 'e', 'O', 'O', 3319], ['J', 2811, 7263, 'C', 4889, 477, 'o', 'p', 'B', 'M', '283', 'R', 'a', '9671', '8125', 'F', 3717, 'X', 1407, 2097, 'J', 'N', 'W']

Ex Output:
o, p, B, M, 283, R, a, 9671, 8125


Ex Input:
[2937, 'S', 3845, 809, 2393, 'S', 'K', 'j', 'z', 'w', 2015, 'm', 'L', 'g', 3641, 9847, 1311, 8727, 'S', '2643', 'N', '8697', 'y', '8559', '7797', 'Y', '1033', '4123', 'T', '281', '5797', 'F', '4173', 'b', 'n', 'U', '9471', '6413', '8549', 'p', 'h', 2393, 6761, 5959, 'q', 's', 'M', 'u', 'O', 6275, 'X', 6729, 9623], ['k', 2271, 2429, 'H', 6195, 'P', 'G', 1565, 565, 9619, 1897, 'Z', 'j', 'x', 7323, 8035, 'S', '2643', 'N', '8697', 'y', '8559', '7797', 'Y', '1033', '4123', 'T', '281', '5797', 'F', '4173', 'b', 'n', 'U', '9471', '6413', '8549', 'R', 715, 'a', 8779]

Ex Output:

S, 2643, N, 8697, y, 8559, 7797, Y, 1033, 4123, T, 281, 5797, F, 4173, b, n, U, 9471, 6413, 8549