包除原理

principle of inclusion and exclusion