Find numbers that should be extracted as a declaration statement