apple pie's submission of And Or Union | CodeChef