Potter logic

Potter logic.