In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5975, 'B', 'x', 3529, 8161, 'B', 3947, 'l', 733, 9625, 2911, 'y', 'q', 8083, 'a', 1351, 'm', 9951, 'M', 'T', 'L', 'J', 'f', '7313', '3813', '5493', '2143', 'h', '8837', 's', '113', 'S', '7519', '5785', 'U', 'd', '8735', 'B', '6507', 'g', '2645', '5651', '5', 'S', '1463', '1765', 'K', 'U', 'D', 551, 7513, 7605, 3635, 'D', 1179, 8211, 3619, 'B', 'W', 'H', 's', 1875], ['T', 4097, 8959, 'e', 'P', 8271, 119, 8133, 5829, 1469, 'G', 'F', 8809, 'A', 'm', 'Z', 861, 'r', 'n', 1269, 1981, 't', 'F', 9177, 'L', 'J', 'f', '7313', '3813', '5493', '2143', 'h', '8837', 's', '113', 'S', '7519', '5785', 'U', 'd', '8735', 'B', '6507', 'g', '2645', '5651', '5', 'S', '1463', '1765', 'Z', 6757, 'K', 'q', 9187, 2911, 'u', 'J', 'C', 'f', 'c', 7093, 1989, 'k', 4623, 'P', 'j', 'z', 'e', 'r', 221, 2029, 8721]