Given the task definition and input, reply with output. In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.

[3003, 7629, 105, 4751, 'n', 8473, 'k', 'N', 569, 2315, 7597, 7815, 'V', 1371, 'Y', 427, 'c', 7777, 'o', 'k', '5451', '2375', '1137', 'z', 'i', 'x', '57', '4025', '8721', '4293', '1321', 'N', '8477', 'w', 'X', 'a', 't', 'k', '8991', '6305', '7007', 'F', 3045, 3229, 9181, 7169, 3053, 'x', 2575, 'w', 'm', 'J', 2163, 'L', 8661, 'T', 's', 1001, 'S', 's', 'I', 3545], ['B', 6989, 'u', 8435, 'i', 3535, 'A', 'X', 'H', 'o', 2813, 5081, 'k', '5451', '2375', '1137', 'z', 'i', 'x', '57', '4025', '8721', '4293', '1321', 'N', '8477', 'w', 'X', 'a', 't', 'k', '8991', '6305', '7007', 'k', 'd', 5833, 't', 'I', 3803, 8727, 2571, 'H', 4823, 'A', 7609, 3597, 'x', 1339, 4035, 3439, 4851]
k, 5451, 2375, 1137, z, i, x, 57, 4025, 8721, 4293, 1321, N, 8477, w, X, a, t, k, 8991, 6305, 7007