Characterization of Principal Ideal Domains via Dedekind Domains