Request: the ids of the two cheapest products
Input:
9
3
5
jq program: sort_by(.price) | .[0:2] | map(.id)
Output:
2
3