In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
--------
Question: [605, 'W', 7189, 'X', '7897', '5823', 'P', '9001', 'J', 'r', 2595], ['z', 'W', '7897', '5823', 'P', '9001', 'J', 'Z', 'w']

Answer: 7897, 5823, P, 9001, J


Question: [3535, 10023, 'g', 'B', 'E', 'p', 'K', 'y', 1187, 5353, 8779], [1169, 981, 'B', 'E', 'p', 'K', 'D', 'h', 4145, 'h']

Answer: B, E, p, K


Question: ['g', 6121, 277, 'e', 7581, 1091, 's', 'h', 'A', 'n', '9739', 'G', '8793', '3973', 'i', '8603', 'N', '4669', '9791', '1335', '6065', '5489', 'R', 'J', 'g', 'g', '4899', 'a', '5535', '8505', '6503', 'U', 'i', 'L', 'u', 'p', 3741, 'H', 'c', 535, 6341], [1053, 41, 5187, 2167, 'z', 'x', 'n', 'r', 'd', 'V', 4719, 4409, 7161, 'h', 'A', 'x', 6091, 'A', 'N', 'Q', 'Y', 'J', 'x', 's', 'h', 'A', 'n', '9739', 'G', '8793', '3973', 'i', '8603', 'N', '4669', '9791', '1335', '6065', '5489', 'R', 'J', 'g', 'g', '4899', 'a', '5535', '8505', '6503', 'U', 'i', 'L', 'l', 't', 'Q', 'r', 3925, 6205, 917, 7235, 'b', 'K', 3945, 'u', 4647]

Answer:
s, h, A, n, 9739, G, 8793, 3973, i, 8603, N, 4669, 9791, 1335, 6065, 5489, R, J, g, g, 4899, a, 5535, 8505, 6503, U, i, L