check PR by input