#1687. xy数

xy数

当前没有测试数据。

题目描述

如果一个数只包含两种数字x和y,则它是一个xy数,比如1122和3300。求出[1,n]范围内,求出有多个数只包含两个数字。

x和y可以相等

输入格式

输入一个整数n;

输出格式

输出[1,n]范围内,有多个xy数。

样例

输入

10
123

输出

10
113

数据范围与提示

对于100%的数据,n的范围[1,109];

In the first test sample all numbers that do not exceed 10 are xyNumber.

In the second sample numbers 102, 103, 104, 105, 106, 107, 108, 109, 120, 123 are not xyNumber.