{ "question": "A boy has 5 cards. His brother has 3 fewer cards than he has. How many cards do they have together?", "answer": "His brother has 5 - 3 = <<5-3=2>>2 cards.\nTogether, they have 5 + 2 = <<5+2=7>>7 cards.\n#### 7", "id_orig": 579, "id_shuffled": 63, "question_annotated": "A {person1} has {n} {item}s. His {relation} has {k} fewer {item}s than he has. How many {item}s do they have together?\n\n#init:\n- person1 = sample([\"student\", \"boy\", \"child\", \"kid\"])\n- item = sample([\"marble\", \"sticker\", \"toy\", \"book\", \"pencil\"])\n- relation = sample([\"sister\", \"brother\", \"friend\", \"cousin\"])\n- $n = range(5, 21)\n- $k = range(2, 10)\n\n#conditions:\n- n > k\n\n#answer: n + (n-k)", "answer_annotated": "His {relation} has {n} - {k} = <<{n}-{k}={n-k}>>{n-k} {item}s.\nTogether, they have {n} + {n-k} = <<{n}+{n-k}={n+(n-k)}>>{n+(n-k)} {item}s.\n#### {n+(n-k)}" }