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

Input: Consider Input: ['e', 'h', 's', 'a', 'H', 'T', 2055, 'K', 's', 4269, '8015', 'T', '1633', 'K', 'T', 'Z', 's', 'x', '7515', '9771', '7667', 'K', '3065', 'i', 'N', 9599, 8065, 'V', 'H', 7675, 4263, 'Z', 7307], ['V', 'z', 'C', 'S', 'F', 'a', 's', 6773, 'C', 'e', 9893, '8015', 'T', '1633', 'K', 'T', 'Z', 's', 'x', '7515', '9771', '7667', 'K', '3065', 'O', 'Q', 709, 'G', 167, 3287, 'w', 6213, 'g']

Output: 8015, T, 1633, K, T, Z, s, x, 7515, 9771, 7667, K, 3065


Input: Consider Input: [7963, 1119, 5983, 1201, 'f', 7721, 'l', 6831, '369', 'h', 'P', '9609', 'C', 'N', 'v', 'J', '8213', 'Q', '6733', 'S', '3587', 'F', '2917', '1601', 'w', 'z', 'b', '7237', '6995', '1907', 'S', 'i', 'X', 5925, 'R', 'm', 6883, 'S', 'J', 's', 'U', 'G', 7225, 7405], ['P', 3151, 'V', 347, 6187, 9261, 867, 'd', 3727, 4495, 'L', 'k', 1911, 'k', 'v', 'T', '369', 'h', 'P', '9609', 'C', 'N', 'v', 'J', '8213', 'Q', '6733', 'S', '3587', 'F', '2917', '1601', 'w', 'z', 'b', '7237', '6995', '1907', 'S', 'A', 3797, 7567, 7617, 'E', 7683, 'd', 'K', 1795, 5667, 'y', 4005, 567, 8429]

Output: 369, h, P, 9609, C, N, v, J, 8213, Q, 6733, S, 3587, F, 2917, 1601, w, z, b, 7237, 6995, 1907, S


Input: Consider Input: [3395, 'i', 8049, '6977', '9615', 'Y', 'S', 'W', '8567', '8399', 'Z', '4011', '4991', 'G', 'V', '5919', '8363', 'X', 'k', 5713, 'c', 'm', 'M'], [8629, 2753, 'J', 6609, 4097, 'U', '6977', '9615', 'Y', 'S', 'W', '8567', '8399', 'Z', '4011', '4991', 'G', 'V', '5919', '8363', 'q', 'o', 'm', 'u', 3251, 9567, 'Z', 'g', 163, 'L', 'p', 7037]


Output: 6977, 9615, Y, S, W, 8567, 8399, Z, 4011, 4991, G, V, 5919, 8363