Below is an instruction that describes a task. Write a response that appropriately completes the request.

### Instruction:
What is the greatest number of Pakistanis admitted to Canada during those times when the number of Nepalis admitted was 627?

### Inputs:
table_name: table, columns: ['Year', 'Indians admitted', 'Pakistanis admitted', 'Sri Lankans admitted', 'Bangladeshis admitted', 'Nepalis admitted']

### Response:
SELECT MAX Pakistanis admitted FROM table WHERE Nepalis admitted = 627