In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['J', 'k', 9997, 8713, 8369, 9921, 'X', 1909, 'D', 'E', 4283, 7059, 37, 9631, 'v', 't', 3633, 5139, 2965, 'F', 8803, 9971, 'R', 913, 4993, '7089', 'r', 'p', 'R', 'u', '2999', '1573', '2877', '3509', '6601', 'P', 'd', 't', 'g', 'q', 'G', '6783', '6367', '7171', 'g', 'O', 'S', 'l', 'H', '9847', 'k', 4841, 7271, 'f', 'd', 897, 'M', 6165, 'i', 'S', 4825, 'S', 'T', 4971, 9281, 'U', 'Z', 4685, 8615, 9311], ['B', 'R', 'U', 3623, 'K', 'p', 'N', 'P', 'y', 4041, 5885, 'R', '7089', 'r', 'p', 'R', 'u', '2999', '1573', '2877', '3509', '6601', 'P', 'd', 't', 'g', 'q', 'G', '6783', '6367', '7171', 'g', 'O', 'S', 'l', 'H', '9847', 'm', 6151, 1117, 9079, 'K', 'I', 6209, 2819, 'X', 'I', 'V', 'm', 5785, 6753, 2665, 3469, 'T', 'U', 'n']