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.

[7409, 'Z', 633, 987, 'Q', 9571, 'k', 5431, 'b', 'r', 'b', 'x', '5113', '7273', '1615', '7665', 'r', '3163', 'E', 't', 'j', 'D', 'M', 'B', 'W', '8633', '489', 'j', 'S', '5325', '8143', '8401', '9007', 'x', '907', '7447', 'd', '2255', '4555', 'K', 'a', 'p', 'r', 'g', 2639, 1415, 'B'], ['Q', 'K', 'i', 'K', 'P', 'q', 4287, 6059, 'l', 1331, 1727, 'E', 5375, 'Y', 'x', '5113', '7273', '1615', '7665', 'r', '3163', 'E', 't', 'j', 'D', 'M', 'B', 'W', '8633', '489', 'j', 'S', '5325', '8143', '8401', '9007', 'x', '907', '7447', 'd', '2255', '4555', 'K', 'a', 'G', 'w', 'W', 2961, 6441, 8455, 'r', 1179, 4147, 3255, 5631, 'H', 1725, 659]
x, 5113, 7273, 1615, 7665, r, 3163, E, t, j, D, M, B, W, 8633, 489, j, S, 5325, 8143, 8401, 9007, x, 907, 7447, d, 2255, 4555, K, a