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

Input: Consider Input: ['P', 'h', 9391, 'u', 9757, 'y', 'a', 'j', 'k', 'Y', '2091', 'U', 'p', 7959, 'F'], [1713, 2679, 'y', 'a', 'j', 'k', 'Y', '2091', 'U', 'V', 'r', 't', 'f', 8179]

Output: y, a, j, k, Y, 2091, U

Input: Consider Input: [5639, 'n', 'J', '9525', 'B', 'o', 's', 'P'], ['t', 893, 4667, '9525', 'B', 'o', 7501, 'z', 6255]

Output: 9525, B, o

Input: Consider Input: [1191, 'l', 'c', 2465, 'E', 3905, 'w', 'J', 'M', '6553', 't', 'g', 'T', '8203', '9637', '1829', '7751', 'K', 'r', 5007, 'C', 'Q', 4721, 1905, 'w', 'Z'], [2503, 1975, 'E', 707, 8587, 4319, 7645, 4529, 'C', 'r', 'w', 'J', 'M', '6553', 't', 'g', 'T', '8203', '9637', '1829', '7751', 'K', 'Z', 'Y', 3235, 'Q', 'I', 'v', 4161, 6621, 'v', 7939, 'R']
Output: w, J, M, 6553, t, g, T, 8203, 9637, 1829, 7751, K