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

Input: Consider Input: [365, 6285, 6519, 'Y', 9505, 25, '1855', 'C', 'U', 'k', 'i', 'm', 'e', 'I', 'S', 'X', 'm', 'm', 'J', 'F', '2055', 'I', 'T', '373', 'E', '521', '9519', 'v', '9097', '8995', '5935', 'd', 'K', 'q', 4541, 'f', 7421, 'P', 9167, 1141, 1391, 4937, 'L', 5615, 9795, 'o', 'k', 'p', 'a', 1821, 6191, 'V', 4729, 'n', 'y'], [7711, 7519, 'c', 8955, 6119, '1855', 'C', 'U', 'k', 'i', 'm', 'e', 'I', 'S', 'X', 'm', 'm', 'J', 'F', '2055', 'I', 'T', '373', 'E', '521', '9519', 'v', '9097', '8995', '5935', 'd', 'K', 'U', 9155, 'e', 4505, 4567, 'o', 7503, 'M', 8255, 'J', 9333, 'i']

Output: 1855, C, U, k, i, m, e, I, S, X, m, m, J, F, 2055, I, T, 373, E, 521, 9519, v, 9097, 8995, 5935, d, K


Input: Consider Input: [6839, 'h', 6347, 'c', 'u', 793, 601, 't', 'w', 3237, 'U', '5583', 'z', 'X', 'L', '4399', 'Q', 'H', 'h', 'Q', 'D', '8725', 'u', 'a', '8719', 'f', 'E', '8309', '2711', 'E', '9927', '3625', 'G', 'E', '7087', 'T', '2201', 'm', 's', '3821', 'b', 'v', 9597, 'X', 2647, 'C', 155, 'B', 5459, 3691, 9935, 9189], ['k', 6433, 5973, 9407, 9023, 2147, 2247, 'k', 6665, 9491, 'K', 2537, 'r', 2469, 'd', 2941, 'H', 8667, 855, 'V', 'U', '5583', 'z', 'X', 'L', '4399', 'Q', 'H', 'h', 'Q', 'D', '8725', 'u', 'a', '8719', 'f', 'E', '8309', '2711', 'E', '9927', '3625', 'G', 'E', '7087', 'T', '2201', 'm', 's', '3821', 'w', 'B', 6551, 'i', 'v', 773, 'M', 'I', 'R']

Output: U, 5583, z, X, L, 4399, Q, H, h, Q, D, 8725, u, a, 8719, f, E, 8309, 2711, E, 9927, 3625, G, E, 7087, T, 2201, m, s, 3821


Input: Consider Input: [9757, 7553, 'S', 'E', 'W', 'T'], [6659, 'w', 'S', 'E', 'J', 'g']


Output: S, E