There is no negative values for n. But n can be 1. You can try the following input output set. Input: 1 10 11 17 0 Output: Discarded cards: Remaining card: 1 Discarded cards: 1, 3, 5, 7, 9, 2, 6, 10, 8 Remaining card: 4 Discarded cards: 1, 3, 5, 7, 9, 11, 4, 8, 2, 10 Remaining card: 6 Discarded car...