print(sorted({9,8} ^ {13,12,10,9,8}, reverse=True))print(sorted({23,22,21,20,19,18,17,16} ^ {21,17}, reverse=True))
Standard input is empty
[13, 12, 10] [23, 22, 20, 19, 18, 16]
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!