In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['Q', 'N', 'P', 'K', '4217', '8361', 'w', '1461', '7585', '6977', 'H', '593', 'a', '4345', 'p', '1305', 'V', 'Q', 'v', '9359', '3573', 'd', 'U', 'T', '7471', 'v', '7005', 'z', '5275', 'B', 'p', 1231, 'M', 7027, 4419, 705, 7347, 8033, 1529, 5741, 9913, 7947, 2963, 'h'], ['Y', 'c', 'p', 'G', 'q', 'v', 'p', 1491, 'q', 'C', 3137, 9049, 'l', 8179, 4859, 53, 3533, 7931, 'k', 'v', 'Y', 'e', 'j', 8215, '4217', '8361', 'w', '1461', '7585', '6977', 'H', '593', 'a', '4345', 'p', '1305', 'V', 'Q', 'v', '9359', '3573', 'd', 'U', 'T', '7471', 'v', '7005', 'z', '5275', 'y', 'i', 3499, 6011, 1267, 'A', 8347, 'P', 6633, 3055, 'M', 3277, 4935, 'G', 'a', 8191, 1313, 'O', 'Q', 1833, 'n', 2549, 'a']