decomposition and conditionals homework