CF261C Maxim and Matrix

Description

Maxim loves to fill in a matrix in a special manner. Here is a pseudocode of filling in a matrix of size $ (m+1)×(m+1) $ : ![](https://cdn.luogu.com.cn/upload/vjudge_pic/CF261C/2ee53d83c775f11a8b5c62a496d38d42095666d0.png) Maxim asks you to count, how many numbers $ m $ $ (1

Input Format

A single line contains two integers $ n $ and $ t $ $ (1

Output Format

In a single line print a single integer — the answer to the problem.