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

Input: Consider Input: [3937, 'R', 'H', '3517', '1845', 'Y', '8999', '7003', '6677', '8517', 'k', 'W', '5321', '5817', 's', '271', '4109', 'o', 5471, 's', 8751, 2307, 4959, 2645, 7227, 3355, 'Z', 'c', 'D', 1155, 'W', 'T'], ['V', 'B', 'z', 2111, 'H', '3517', '1845', 'Y', '8999', '7003', '6677', '8517', 'k', 'W', '5321', '5817', 's', '271', '4109', 'b', 8675, 9843, 'v', 'n']

Output: H, 3517, 1845, Y, 8999, 7003, 6677, 8517, k, W, 5321, 5817, s, 271, 4109


Input: Consider Input: ['a', 4905, 8389, 9641, 'q', 'K', '1119', 'F', 'N', 'R', '3705', '2745', 'L', '2995', '6385', '1891', 'O', '6759', '2279', 'N', '9215', '5361', 'a', '2215', 'O', '9183', '8603', '1437', '9245', 'F', 'v', 5681, 'Q', 5143, 8875, 'i', 5537, 'f', 'J', 'j', 8747, 'K', 'f', 'z', 983, 'g', 8105, 'q', 4679, 2409], ['G', 'k', 'B', 'm', 'W', 3523, 9719, 'f', 8921, 'N', 6185, 'p', 7841, 'T', 'K', '1119', 'F', 'N', 'R', '3705', '2745', 'L', '2995', '6385', '1891', 'O', '6759', '2279', 'N', '9215', '5361', 'a', '2215', 'O', '9183', '8603', '1437', '9245', 'd', 's', 4795, 'P', 'e', 9789, 9769, 's', 8079, 5909, 8059, 'j', 'o', 'B', 'Z', 6147, 2177, 'L', 'a']

Output: K, 1119, F, N, R, 3705, 2745, L, 2995, 6385, 1891, O, 6759, 2279, N, 9215, 5361, a, 2215, O, 9183, 8603, 1437, 9245


Input: Consider Input: [3513, 5979, 4227, 7273, 5387, 'j', 'k', 7115, 'u', '5847', '1161', '5541', '7519', 'i', 'j', 'a', 'k', '1601', 'j', '4509', 'F', 't', 'W', '977', 't', 7001, 2769, 'a', 'H', 3321, 4351, 'g'], [7881, 'm', 'D', 'u', 6355, 7685, 8853, 't', 'I', 'u', '5847', '1161', '5541', '7519', 'i', 'j', 'a', 'k', '1601', 'j', '4509', 'F', 't', 'W', '977', 'i', 'Q', 'z', 'O', 8021]


Output: u, 5847, 1161, 5541, 7519, i, j, a, k, 1601, j, 4509, F, t, W, 977