In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['U', 6631, 'N', 'E', 1219, 8677, 'Q', 5787, 4683, 's', 7301, 8965, 'p', 6337, 'e', 'k', 'F', 't', 'b', 8119, 8497, 'F', 'X', 'O', 9877, 'q', 6025, 'Z', '3637', '9729', '7647', 'n', '4473', '9981', '339', '5361', '4531', '4309', '8265', '8541', 't', 'I', '7701', '4745', 'e', '1235', 'V', '9355', '9839', 'G', '1757', 'C', 'E', '1801', '6317', 'M', 'x', 't', 'Z', 1611, 'U', 3731, 'w', 'r', 'D'], [6627, 1589, 'O', 'B', 7079, 7951, 8697, 4883, 'j', 'H', 821, 7061, 'O', 'O', 3667, 'C', 'd', 'Z', '3637', '9729', '7647', 'n', '4473', '9981', '339', '5361', '4531', '4309', '8265', '8541', 't', 'I', '7701', '4745', 'e', '1235', 'V', '9355', '9839', 'G', '1757', 'C', 'E', '1801', '6317', 'N', 'O', 'm', 159, 393, 1117, 't', 'P']