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

Input: Consider Input: ['R', 'r', 153, 'P', 1715, 757, 'K', 685, 1275, '9653', '3305', '853', 's', 'f', 'y', 'v', 'd', 'E', '4893', '9515', 'O', '9527', 'R', 'C', '8621', 'P', 'O', 's', '1455', '5259', '5561', '5147', 'G', 'e', 'l', 8075, 'x', 3879, 'g', 1215, 2387, 'E', 9305, 'L', 't', 'B', 7409, 7623, 7913], ['A', 'P', 'm', 5825, 'S', 2069, 7235, 4509, 'K', 6535, 979, 'f', 9051, 2423, 'R', 'l', 'q', 9429, 'l', 803, 'j', 2081, 5321, '9653', '3305', '853', 's', 'f', 'y', 'v', 'd', 'E', '4893', '9515', 'O', '9527', 'R', 'C', '8621', 'P', 'O', 's', '1455', '5259', '5561', '5147', 'G', 'e', 'z', 9157, 5891, 'g', 'z', 707, 4039, 293, 'S', 'B', 'b', 2399, 'l', 1277, 'F', 3399, 1459]

Output: 9653, 3305, 853, s, f, y, v, d, E, 4893, 9515, O, 9527, R, C, 8621, P, O, s, 1455, 5259, 5561, 5147, G, e


Input: Consider Input: [6113, 'G', 4431, 8099, 'I', 4271, '4733', 'W', 'O', 'm', '1199', '7659', '9145', '1189', 'M', 'u', '1751', 'n', '8029', 'Y', '4755', '2553', 'y', '7583', '3895', 'r', '4717', '9005', '5533', 'H', 6491, 'M', 4353, 'S', 9687, 'Z', 'i', 7375, 9663, 'o', 4167, 8535, 's', 4975, 'v', 's', 'e', 1513, 'g', 5703, 75], [7937, 3533, 'W', 'y', '4733', 'W', 'O', 'm', '1199', '7659', '9145', '1189', 'M', 'u', '1751', 'n', '8029', 'Y', '4755', '2553', 'y', '7583', '3895', 'r', '4717', '9005', '5533', 'G', 1911, 6881, 'H', 'K', 'K', 2941, 4011, 4337, 1235, 'w', 3891, 's', 'd', 'O', 'p', 'w', 9061, 'b', 3049]

Output: 4733, W, O, m, 1199, 7659, 9145, 1189, M, u, 1751, n, 8029, Y, 4755, 2553, y, 7583, 3895, r, 4717, 9005, 5533


Input: Consider Input: [3019, 3905, 9223, 4705, 'd', 737, 8373, 7767, 'W', 'q', 'i', 'H', 5965, 3387, 'W', 'p', 'h', 'v', '4991', 'W', '7469', 'Q', 'B', '2749', '1689', 'x', '4479', 'a', '6111', '6123', 'z', 'f', '3929', '9299', '4455', '9389', 'z', 'V', 4767], [925, 'v', 4201, 'p', 4331, 'y', 'F', 's', 1461, 9975, 6853, 'W', 'p', 'h', 'v', '4991', 'W', '7469', 'Q', 'B', '2749', '1689', 'x', '4479', 'a', '6111', '6123', 'z', 'f', '3929', '9299', '4455', '9389', 't', 'A', 2259, 9229]


Output: W, p, h, v, 4991, W, 7469, Q, B, 2749, 1689, x, 4479, a, 6111, 6123, z, f, 3929, 9299, 4455, 9389