Study: Risk of developing any cancer depends on two factors