{
  "id": "XAT2024-Q16",
  "exam": "XAT",
  "year": 2024,
  "slot": "Full Paper",
  "question_no": 16,
  "section": "Quantitative Ability & Data Interpretation",
  "sub_section": "Arithmetic",
  "topic": "Linear Equations in Integers",
  "sub_topic": "Prices of vegetables",
  "difficulty": "Hard",
  "ideal_time_seconds": 100,
  "set": {
    "from": 16,
    "to": 17,
    "passage_text": "Aman has come to the market with Rs. 100. If he buys 5 kilograms of cabbage and 4 kilograms of potato, he will have Rs. 20 left; or else, if he buys 4 kilograms of cabbage and 5 kilograms of onion, he will have Rs. 7 left. The per kilogram prices of cabbage, onion and potato are positive integers (in rupees), and any type of these vegetables can only be purchased in positive integer kilogram, or none at all.",
    "passage_html": "Aman has come to the market with Rs. 100. If he buys 5 kilograms of cabbage and 4 kilograms of potato, he will have Rs. 20 left; or else, if he buys 4 kilograms of cabbage and 5 kilograms of onion, he will have Rs. 7 left. The per kilogram prices of cabbage, onion and potato are positive integers (in rupees), and any type of these vegetables can only be purchased in positive integer kilogram, or none at all.",
    "passage_figures": []
  },
  "context_text": null,
  "question_text": "Aman decides to buy only onion, in whatever maximum quantity possible (in positive integer kilogram), with the money he has come to the market with. How much money will he be left with after the purchase?",
  "question_html": "Aman decides to buy only onion, in whatever maximum quantity possible (in positive integer kilogram), with the money he has come to the market with.<br><br>How much money will he be left with after the purchase?",
  "figures": [],
  "figure_description": null,
  "options": [
    {
      "id": "A",
      "text": "Rs. 12",
      "html": "Rs. 12"
    },
    {
      "id": "B",
      "text": "Rs. 9",
      "html": "Rs. 9"
    },
    {
      "id": "C",
      "text": "Rs. 7",
      "html": "Rs. 7"
    },
    {
      "id": "D",
      "text": "Rs. 5",
      "html": "Rs. 5"
    },
    {
      "id": "E",
      "text": "Re. 1",
      "html": "Re. 1"
    }
  ],
  "answer": {
    "key": "E",
    "text": "Re. 1"
  },
  "answer_verified": true,
  "solution_text": "1. Let cabbage = c, potato = p, onion = o (rupees per kg). Then 5c + 4p = 80 and 4c + 5o = 93. 2. From the first, 5c is a multiple of 4, so c is a multiple of 4: c = 4, 8 or 12 (p = 15, 10, 5). 3. Second equation: 93 - 4c must be a multiple of 5: c = 4 gives 77 (no), c = 8 gives 61 (no), c = 12 gives 45, so o = 9. 4. So c = 12, p = 5, o = 9. With Rs. 100, the onion bought = floor(100/9) = 11 kg costing Rs. 99. 5. Money left = Rs. 1. Quick check: 5(12) + 4(5) = 80 (Rs. 20 left) and 4(12) + 5(9) = 93 (Rs. 7 left). Answer: E) Re. 1",
  "solution_html": "1. Let cabbage = c, potato = p, onion = o (rupees per kg). Then 5c + 4p = 80 and 4c + 5o = 93.<br>2. From the first, 5c is a multiple of 4, so c is a multiple of 4: c = 4, 8 or 12 (p = 15, 10, 5).<br>3. Second equation: 93 - 4c must be a multiple of 5: c = 4 gives 77 (no), c = 8 gives 61 (no), c = 12 gives 45, so o = 9.<br>4. So c = 12, p = 5, o = 9. With Rs. 100, the onion bought = floor(100/9) = 11 kg costing Rs. 99.<br>5. Money left = Rs. 1.<br>Quick check: 5(12) + 4(5) = 80 (Rs. 20 left) and 4(12) + 5(9) = 93 (Rs. 7 left).<br>Answer: E) Re. 1",
  "g_strategy": {
    "note": "Cetking™'s famous G Strategy: Sacred Art of Shortcut & Sacred Art of Tukka Shortcut — available after login on cetking.com.",
    "login_url": "https://cetking.com/login/",
    "page_url": "https://cetking.com/xat-2024-q16-17-aman-has-come-to-the-market/#q16"
  },
  "page_url": "https://cetking.com/xat-2024-q16-17-aman-has-come-to-the-market/#q16",
  "json_url": "https://cetking.com/api/xat/q/XAT2024-Q16.json",
  "paper_index_url": "https://cetking.com/api/xat/paper/2024.json",
  "publisher": {
    "name": "Cetking",
    "url": "https://cetking.com"
  }
}