Definition: In this task, you're given a question, along with a context passage. The passage will not have a direct answer to the question, but can include some information and a clue for the answer. Assuming you can only obtain information about one entity in the passage, your job is to determine whether information from the passage can be used to answer the question. Indicate your choice as `a` for Yes or `b` for No.
Input: Question: How long did the king who was painted by Jan Matejko rule Poland? Passage:Modern history accepts this gateway as one of three constructed by Yaroslav the Wise. The golden gates were built in 1017-1024 (6545 by the Byzantine calendar) at about the same time the Saint Sophia Cathedral was erected. Mentions of an older construction, such as the one presented on a painting by Jan Matejko of king Bolesław I of Poland striking the Golden Gate with his sword during the intervention in the Kievan succession crisis in 1018, it is now regarded a legend. Originally named simply the Southern Gate, it was one of the three main entrances to the walled city, along with the Ladski and Zhydivski (Polish and Jewish) Gates. The last two have not survived. The stone fortifications stretched for only 3.5 km. The fortification of the Old Kyiv (Upper City) stretched from the Southern Gates down to what is now Independence Square and where the Lechitic Gate was located. From there, the moat followed what is now Kostyol Street, skirting St. Michael's Monastery and continuing along today's Zhytomyr Street toward the Jewish Gates (at ). From there, the fortification stretched what is now Yaroslaviv Val ("Yaroslav's Rampart") Street back to the Southern Gate.


b