Task Description
某銀行存款按日計息,每半年結息並支付 (6 月底與 12 月底),年利率為0.120%。
自 2020 年 1 月 1 日起,銀行內有 10 萬元,每月底再存入 1 萬元。
輸入年份Y及月份M,請問Y年M月1日時存款為何?(以月為單位計算,不考慮閏年)
若輸入年份小於2020或輸入月份超出1 ~ 12的範圍,則輸出Invalid input。
Input Format
輸入年份及月份。
Output Format
輸出存款金額。
請用int輸出(無條件捨去)。
Sample Input
20212
Sample Output
230186
Sample Input
199999
Sample Output
Invalid input