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

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: [6839, 'h', 6347, 'c', 'u', 793, 601, 't', 'w', 3237, 'U', '5583', 'z', 'X', 'L', '4399', 'Q', 'H', 'h', 'Q', 'D', '8725', 'u', 'a', '8719', 'f', 'E', '8309', '2711', 'E', '9927', '3625', 'G', 'E', '7087', 'T', '2201', 'm', 's', '3821', 'b', 'v', 9597, 'X', 2647, 'C', 155, 'B', 5459, 3691, 9935, 9189], ['k', 6433, 5973, 9407, 9023, 2147, 2247, 'k', 6665, 9491, 'K', 2537, 'r', 2469, 'd', 2941, 'H', 8667, 855, 'V', 'U', '5583', 'z', 'X', 'L', '4399', 'Q', 'H', 'h', 'Q', 'D', '8725', 'u', 'a', '8719', 'f', 'E', '8309', '2711', 'E', '9927', '3625', 'G', 'E', '7087', 'T', '2201', 'm', 's', '3821', 'w', 'B', 6551, 'i', 'v', 773, 'M', 'I', 'R']

Output: U, 5583, z, X, L, 4399, Q, H, h, Q, D, 8725, u, a, 8719, f, E, 8309, 2711, E, 9927, 3625, G, E, 7087, T, 2201, m, s, 3821


Input: Consider Input: ['V', 9919, 4993, 'e', 'E', '4071', 'z', 'k', 'q', '1139', '8367', 'o', 1325, 951, 5443, 'm', 'd', 'M', 3557], [397, 4777, 5349, 'e', 'E', '4071', 'z', 'k', 'q', '1139', '8367', 'Y', 's', 8019, 'i', 463, 'R']


Output: e, E, 4071, z, k, q, 1139, 8367