You will be given a definition of a task first, then some input of the task.
In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.

[821, 'z', 9395, 6337, 'I', 257, 'b', 9347, 5845, 2991, 4165, 'S', 'b', 'q', 8057, 'I', 3805, 'x', 7865, 'M', 8941, 'l', 3905, 'E', 'Y', 'w', 7673, '9363', '267', '5711', 'O', '2397', '621', 'Q', '8747', '9209', 'W', 'l', '6829', '5205', '4007', '6125', '8117', '8409', 'O', '2543', '2661', 'U', '9797', '10023', 'm', '6489', '4317', 'b', 's', 'k', 'r', 'F', 3715, 'a', 7263, 8283, 'H', 6959, 'y', 1781, 8785, 4027, 'V', 3659, 453, 'S', 'A', 2189, 19, 'm', 6461, 1787, 'h', 'x', 'k'], [4945, 't', 7833, 747, 8747, 'G', 9687, 6411, 'A', 't', 5887, 5415, 7723, 507, 5667, 'V', 4227, 8025, 'T', 'P', 'V', 'P', 7043, 5743, 'J', 'Q', 'n', '9363', '267', '5711', 'O', '2397', '621', 'Q', '8747', '9209', 'W', 'l', '6829', '5205', '4007', '6125', '8117', '8409', 'O', '2543', '2661', 'U', '9797', '10023', 'm', '6489', '4317', 'b', 's', 'Y', 'w', 8003, 6923, 2535, 'R', 9375, 1961, 6673, 6429, 8113, 2723, 't', 'a', 'M', 7321, 'J']
Output:
9363, 267, 5711, O, 2397, 621, Q, 8747, 9209, W, l, 6829, 5205, 4007, 6125, 8117, 8409, O, 2543, 2661, U, 9797, 10023, m, 6489, 4317, b, s