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

Input: Consider Input: [1071, 'w', 3571, 'c', 3877, 't', 'H', 'U', 'C', 'Q', 'v', 'd', '9421', '3707', 'q', 'M', 'u', '7171', '8005', '9897', '4473', '6865', 'e', '4241', 'f', '9249', 'v', 'c', '6077', '1825', 'P', 'X', 'p', '5845', 'a', '7535', 'T', '2813', 'r', 'v', 10031, 'i', 'G', 't', 'K', 'c', 9299, 's', 6373], ['Z', 6069, 8247, 609, '9421', '3707', 'q', 'M', 'u', '7171', '8005', '9897', '4473', '6865', 'e', '4241', 'f', '9249', 'v', 'c', '6077', '1825', 'P', 'X', 'p', '5845', 'a', '7535', 'T', '2813', 'I', 'e', 'O', 1707, 7143, 'w', 'P', 'E', 7629, 6069, 'k', 3493, 'd', 'k', 4167, 'z', 3513, 'Y', 'g', 'K', 8501, 'n', 'Q', 6091]

Output: 9421, 3707, q, M, u, 7171, 8005, 9897, 4473, 6865, e, 4241, f, 9249, v, c, 6077, 1825, P, X, p, 5845, a, 7535, T, 2813


Input: Consider Input: [3409, 'W', 7371, 705, 4353, 6055, 1109, '2039', '1331', 'M', '1507', '1583', '9005', '3561', 'm', '3453', '9927', 'L', '5625', '3923', '5839', 'b', 'a', '1865', 'l', 'Z', '4855', '2985', 'l', '7011', 'Z', 'f', '6205', 'd', 'r', 5975, 7455, 'P', 7563, 'A', 797, 'm', 'y', 'S'], [851, 'D', 'Z', 't', 'd', 189, 'V', 'o', 8559, 3455, '2039', '1331', 'M', '1507', '1583', '9005', '3561', 'm', '3453', '9927', 'L', '5625', '3923', '5839', 'b', 'a', '1865', 'l', 'Z', '4855', '2985', 'l', '7011', 'Z', 'f', '6205', 'x', 'q', 7907, 857, 2245, 5847, 'h']

Output: 2039, 1331, M, 1507, 1583, 9005, 3561, m, 3453, 9927, L, 5625, 3923, 5839, b, a, 1865, l, Z, 4855, 2985, l, 7011, Z, f, 6205


Input: Consider Input: ['z', 5923, 'E', '4631', 'q', 'R'], [6623, 4327, 'E', '4631', 'J', 4645]


Output: E, 4631