Inductive and deductive reasoning