#P10983. [蓝桥杯 2023 国 Python A] 跑步计划

[蓝桥杯 2023 国 Python A] 跑步计划

Problem Description

Xiao Lan plans to run 55 kilometers on any day whose date contains 11; otherwise, he will run only 11 kilometer. Note that “contains 11” 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 20232023?

For example, on May 11, January 1313, November 55, and April 33 (Monday), Xiao Lan will run 55 kilometers, while on May 2323 Xiao Lan will run 11 kilometer.

(All example dates are in 20232023.)

Input Format

None.

Output Format

Output one line with one integer, representing the answer.

Hint

Translated by ChatGPT 5