Record given in natural language

Conversion to numeric record

Pedro gained from his uncle José more than twenty cards and his aunt Maria less than

eighteen. In all, Peter won thirty nine cards. How many cards did he get from his uncle José?

Some of the possibilities

22 + 17 = 39 or

24 + 15 = 39