aops intermediate counting and probability