CREATE TABLE table_1717824_3 (pakistanis_admitted INT, nepalis_admitted VARCHAR)

What is the greatest number of Pakistanis admitted to Canada during those times when the number of Nepalis admitted was 627?
SELECT MAX(pakistanis_admitted) FROM table_1717824_3 WHERE nepalis_admitted = 627
SELECT MAX("pakistanis_admitted") FROM "table_1717824_3" WHERE "nepalis_admitted" = 627