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

Input: Consider Input: [1231, 'a', 9367, '155', 'r', '1473', '5679', '3161', 'L', 'e', 'b', 'm', '9427', '2001', '5293', '3487', 'K', '6467', 'S', 'e', 6603, 'm', 8145, 'L', 's', 1273, 9291, 'X'], [5773, 'D', 'W', 'F', 5987, 'D', 'H', 2095, 'I', 'X', 29, '155', 'r', '1473', '5679', '3161', 'L', 'e', 'b', 'm', '9427', '2001', '5293', '3487', 'K', '6467', 'S', 'C', 'a']

Output: 155, r, 1473, 5679, 3161, L, e, b, m, 9427, 2001, 5293, 3487, K, 6467, S


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: [241, 7349, 1303, 't', 'm', '5355', '8849', 'c', 'u', 'x', '1105', '7895', 'j', '6057', 't', 'd', 'H', '6425', 'D', 4433, 's', 7957, 'j', 'p', 'H', 'C', 'R', 8897], ['T', 'B', 8147, 7291, 2717, 5217, 'D', 701, 4879, 'K', 847, 'm', '5355', '8849', 'c', 'u', 'x', '1105', '7895', 'j', '6057', 't', 'd', 'H', '6425', 'W', 'l', 'd', 'y']


Output: m, 5355, 8849, c, u, x, 1105, 7895, j, 6057, t, d, H, 6425