P10983 [Lanqiao Cup 2023 National Python A] Running Plan
Description
Xiao Lan plans to run $5$ kilometers on any day whose date contains $1$; otherwise, he will run only $1$ kilometer. Note that “contains $1$” refers not only to the year, month, and day, but also to the day of the week.
According to Xiao Lan’s plan, how many kilometers in total will Xiao Lan run for exercise in $2023$?
For example, on May $1$, January $13$, November $5$, and April $3$ (Monday), Xiao Lan will run $5$ kilometers, while on May $23$ Xiao Lan will run $1$ kilometer.
(All example dates are in $2023$.)
Input Format
None.
Output Format
Output one line with one integer, representing the answer.
Explanation/Hint
Translated by ChatGPT 5