Problem B: 错排

Time Limit: 2 Sec Memory Limit: 1024 MB

HINT

data