M. Menacing Meta
time limit per test
1 second
memory limit per test
1024 megabytes
input
standard input
output
standard output

You have finally caught the evil Dr. Meta! Now, you plan to use one of his inventions against him: The inescapable energy prison. To power the prison, Dr. Meta built a rectangular grid with $$$n$$$ rows and $$$m$$$ columns, where a power cell can be put in each spot. You might not want to put a power cell in all of them, however, as this might overload the prison. Instead, for the prison to work properly, you need the number of power cells in the $$$i$$$th row to be divisible by $$$i$$$, and likewise, the number of power cells in the $$$j$$$th column to be divisible by $$$j$$$. Furthermore, any row or column without a power cell would lead to a catastrophic energy shortage, setting back humanity's scientific progress by centuries.

To put your plan into action, you need to figure out which spots to fill with a power cell. There is also the possibility that this invention doesn't work – after all, the trap that was supposed to teleport you to the moon didn't work either...

Input

The input consists of:

  • One line containing two integers $$$n$$$ and $$$m$$$, ($$$1 \leq n, m \leq 1000$$$), the number of rows and columns of the grid.
Output

If it is possible to power the prison, output "Yes" on one line, followed by $$$n$$$ lines with $$$m$$$ characters each: '#' if the spot of the grid should contain a power cell, and '.' otherwise.

If it is not possible, only output "No" on one line.

Examples
Input
4 4
Output
Yes
##.#
####
.###
####
Input
1 2
Output
No