In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['n', 4067, 'l', 'D', 7085, 'T', 5013, 'r', 8181, 5845, 9993, 'D', '8309', 'V', 'n', '8295', '5627', 'D', 'c', '9437', 'R', '6131', 'b', 'X', 'E', '821', 'X', 'g', '8351', '2579', '457', '2583', '2493', 's', 'm', '5855', 'c', 'v', 'w', 'O', 9377, 'U', 1173, 'p', 6817, 447], ['w', 6177, 8915, 'i', 2309, 't', 929, 'Y', 'O', 'u', 621, 8673, 727, 6745, 4885, 'A', 3543, 'I', 3563, 'A', '8309', 'V', 'n', '8295', '5627', 'D', 'c', '9437', 'R', '6131', 'b', 'X', 'E', '821', 'X', 'g', '8351', '2579', '457', '2583', '2493', 's', 'm', '5855', 'c', 'v', 'g', 6105, 3173, 9079, 3897, 3945, 2133, 'm', 601, 'T']