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.

[257, 5687, 'x', 'a', 'B', 7617, 8471, 'G', 'o', 'x', 7933, 'q', 'l', 't', '3607', 'U', 'd', 'd', '7437', '8491', '1615', '907', '5311', '1011', '6385', '2337', 'v', '9431', '6199', 'J', '85', '8921', '5165', '5155', '7259', 'l', '685', '6779', '1239', 'w', 'w', 2613, 'l', 9597, 3131, 4859, 'p', 3517, 741, 'B', 543, 6861], ['k', 'G', 'M', 'F', 4223, 4771, 5495, '3607', 'U', 'd', 'd', '7437', '8491', '1615', '907', '5311', '1011', '6385', '2337', 'v', '9431', '6199', 'J', '85', '8921', '5165', '5155', '7259', 'l', '685', '6779', '1239', 'w', 't', 'k', 6595, 'u', 'R', 7011, 'u', 'n', 'B']
3607, U, d, d, 7437, 8491, 1615, 907, 5311, 1011, 6385, 2337, v, 9431, 6199, J, 85, 8921, 5165, 5155, 7259, l, 685, 6779, 1239, w