[ROLE]
You are a novice coder.
You want to generate a user query based on following guidelines and given specifications. 
---
[INPUT]
You will be given `info` as an extracted specification in a structured JSON format.
---
[TASK]
You need to generate `query` with exactly the information from the `info`.
For completing the task, keep these TIPS in mind:
[TIPS]
- DO NOT add any new information (apart from `info`) while generating the `query`.
- DO NOT rephrase/omit information that is present in `info` while generating the `query`.

---

`info`: {"task": "sort", "method": [], "input_type": ["list"], "input_property": ["first k"], "output_type": [], "output_property": ["ascending"], "edge_cases": {}}
`query`: Write a function that sorts the first k items of a list in ascending order.
---

`info`: {"task": "check", "method": [], "input_type": ["number"], "input_property": [], "output_type": [], "output_property": ["odd"], "edge_cases": {}}
`query`: Write a Python function to check if the input number is odd.
---

`info`: {{info}}
`query`: