In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[4167, 'p', 'y', 195, 6237, 'J', 'v', 'V', 8571, 1617, 9095, 'C', 'g', 10027, 8441, 'W', 9791, 7689, 7279, 'H', 'A', 'p', 'W', 'g', 'v', '9441', 'S', 'h', '533', '513', '377', 'P', '5567', '3917', '4765', '4655', 'F', '5449', 'd', 'J', 'C', '1595', '9471', 'f', '767', '7479', 'D', 'M', '9045', 'Y', 'a', '2165', '9797', 'n', 'f', 5035, 'J', 'Y', 'U', 6291, 'e', 5221, 'j', 'u', 'K', 3557, 5173, 'r', 7951], [9531, 'N', 'I', 8783, '9441', 'S', 'h', '533', '513', '377', 'P', '5567', '3917', '4765', '4655', 'F', '5449', 'd', 'J', 'C', '1595', '9471', 'f', '767', '7479', 'D', 'M', '9045', 'Y', 'a', '2165', '9797', 'J', 'A', 'X', 'i', 'p', 'h', 'x', 'V', 5451, 'Z', 7095, 3079, 4855]