use scanner to obtain answer pdf