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

Input: Consider Input: ['s', 5961, 'F', 6419, 7317, 2921, 'K', 3199, 2351, 9853, 4811, 3231, '5953', '1493', '173', '425', 'O', 'L', '9941', 'J', 'p', '1999', '9613', '4401', '1875', 'F', 'i', '7537', '8471', '1193', 'Q', 7059, 6673], ['Z', 2529, '5953', '1493', '173', '425', 'O', 'L', '9941', 'J', 'p', '1999', '9613', '4401', '1875', 'F', 'i', '7537', '8471', '1193', 'x', 825, 'e', 'I', 'G', 'n', 2345]

Output: 5953, 1493, 173, 425, O, L, 9941, J, p, 1999, 9613, 4401, 1875, F, i, 7537, 8471, 1193


Input: Consider Input: [9273, 'C', 'u', 6963, 'W', 7827, 3953, 'p', 6281, 7421, 'j', 'Y', 'P', 253, 5393, 'k', 9437, 'f', 6067, 'l', 6167, 'j', 'o', 'y', 'R', '5165', 'K', '6947', '2583', '3721', 'u', 'b', 'e', 'G', 'B', '3777', '623', '8995', '7339', 'b', '8633', '6783', 'l', 'q', '9637', '2791', '6545', 'W', 'G', 'a', 'v', 'h', 3895, 'C', 719, 1945, 'S'], ['G', 4797, 'z', 9055, 'c', 't', 7175, 1231, 'I', 'X', 1415, 'n', 7801, 'K', 7581, 'X', 3735, 'a', 'R', '5165', 'K', '6947', '2583', '3721', 'u', 'b', 'e', 'G', 'B', '3777', '623', '8995', '7339', 'b', '8633', '6783', 'l', 'q', '9637', '2791', '6545', 'W', 'G', 'a', 'C', 'E', 'p', 'e', 'O', 'O', 9127, 'c', 6151, 5929, 'v', 'Z', 6375, 'F', 6255, 6803, 'Y', 'Z', 6865, 5889, 1719, 305, 5127, 'g', 'x', 8743]

Output: R, 5165, K, 6947, 2583, 3721, u, b, e, G, B, 3777, 623, 8995, 7339, b, 8633, 6783, l, q, 9637, 2791, 6545, W, G, a


Input: Consider Input: ['o', 'X', 2671, 8615, 'D', 'C', 'z', '6811', '5429', '8871', '2833', '659', '6757', 'B', '395', 'x', 'R', 3863, 2259, 6915, 4041, 5351, 7967, 9627, 4239, 'B', 7379], ['B', 4027, 'T', 6741, 4799, 'q', 'J', 'n', 945, 'T', 'Q', 'D', 'C', 'z', '6811', '5429', '8871', '2833', '659', '6757', 'B', '395', 'x', 7269, 'Q']


Output: D, C, z, 6811, 5429, 8871, 2833, 659, 6757, B, 395, x