#Lutece0885. 方老师买表

方老师买表

Migrated from Lutece 885 方老师买表

All parts of this problem, including description, images, samples, data and checker, might be broken. If you find bugs in this problem, please contact the admins.

Description

由于方老师出色的专题讲座,他的名气迅速扩散到全国各地,并通过各地的讲座赚到了很多钱,鉴于现在盛行买表,于是方老师带上了一个H×WH \times W的盒子去买表,我们假设每一个表占1×21 \times 2或者2×12 \times 1的空间,问方老师有多少种放置表的方式,把这个盒子填满。

Input

输入有多组数据

每组数据占一行,每一行有22个正整数H,W(1H,W11)H,W,(1 \leq H,W \leq 11)

Output

对于每组测试数据输出11个整数,表示该测试数据的答案

Samples

输入数据 1

2 10
3 3

输出数据 1

89
0

Resources

2014 UESTC Training for Dynamic Programming