text: Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
  ### Context:
  CREATE TABLE table_1717824_3 (pakistanis_admitted INTEGER, nepalis_admitted VARCHAR)
  ### Question:
  What is the greatest number of Pakistanis admitted to Canada during those times when the number of Nepalis admitted was 627?
  ### Answer:
  SELECT MAX(pakistanis_admitted) FROM table_1717824_3 WHERE nepalis_admitted = 627