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

Input: Consider Input: [9881, 2501, 7097, 3329, 1065, 'h', 'J', 1357, 'Y', 'x', 7747, 357, 3529, 6397, 'L', '539', '2309', 'a', 'B', '965', '7339', '5615', 'O', 'b', '9687', '1095', '2253', 'G', 'G', '5381', 'e', '7179', '3215', 'z', '7589', 'V', '6001', '2451', '6691', '2189', 'd', 'o', 'Y', 363, 7935, 'M', 'o', 'k', 'w', 9975, 405, 'a'], ['E', 'g', 2627, 1707, 2107, 8717, 'D', 'e', 'g', 'l', 'N', 'd', '539', '2309', 'a', 'B', '965', '7339', '5615', 'O', 'b', '9687', '1095', '2253', 'G', 'G', '5381', 'e', '7179', '3215', 'z', '7589', 'V', '6001', '2451', '6691', '2189', 'K', 'X', 4927, 'U', 'P', 'r', 'c', 'o', 'm', 7749]

Output: 539, 2309, a, B, 965, 7339, 5615, O, b, 9687, 1095, 2253, G, G, 5381, e, 7179, 3215, z, 7589, V, 6001, 2451, 6691, 2189


Input: Consider Input: [6183, 4797, '4489', 'H', '1839', 'C', '5943', 'D', '2243', 'v', 'R', '2369', '653', 'Z', '4951', 'o', '5709', 'E', '6715', 'E', 'O', 'd', '9889', 'I', 'L', 'f', 2015], ['U', 'Z', 'q', 583, 'T', 'L', 5311, 'L', 't', 'A', 'W', 6061, 9623, 'x', '4489', 'H', '1839', 'C', '5943', 'D', '2243', 'v', 'R', '2369', '653', 'Z', '4951', 'o', '5709', 'E', '6715', 'E', 'O', 'd', '9889', 'I', 'q', 'X', 9877, 8877, 'R', 5899]

Output: 4489, H, 1839, C, 5943, D, 2243, v, R, 2369, 653, Z, 4951, o, 5709, E, 6715, E, O, d, 9889, I


Input: Consider Input: [5751, 'H', 'g', 3971, 'f', 'M', 9061, 1037, 'u', 2733, 1281, 'o', 4821, 't', 3015, 'd', 'u', 4879, 'd', 'S', 't', 9247, 6469, 'e', 'R', 9483, 'b', '153', 'c', '7007', '7835', '7205', '7177', 'm', '7135', '9735', 'U', '9947', 'm', '8457', 'D', 'y', 'e', 'e', 'g', '6275', 'q', '7631', 'X', '5157', '1895', '767', 'F', '67', 'h', 'M', 3587, 'j', 2657, 'F', 7571, 9119, 9271, 5869, 'i', 'S', 'y', 8073, 'D', 'Z'], [1253, 'a', 's', 9471, 4377, 'H', 'A', 'u', 7953, 8467, 'F', 10017, 8057, 'n', 6959, 7649, 5003, 'W', 'u', 'S', 'K', 'K', '153', 'c', '7007', '7835', '7205', '7177', 'm', '7135', '9735', 'U', '9947', 'm', '8457', 'D', 'y', 'e', 'e', 'g', '6275', 'q', '7631', 'X', '5157', '1895', '767', 'F', '67', 'h', 'm', 969, 3365, 'L', 'u', 9773, 'u', 4875, 5607, 'U', 9023, 'b', 3839, 'S', 'W', 'E', 1331, 'j', 1533, 1411, 's', 1427, 8519, 3557, 'J', 'n']


Output: 153, c, 7007, 7835, 7205, 7177, m, 7135, 9735, U, 9947, m, 8457, D, y, e, e, g, 6275, q, 7631, X, 5157, 1895, 767, F, 67, h