{"trustable":false,"sections":[{"title":"","value":{"format":"HTML","content":"\n \u003cdiv class\u003d\"ptx\" lang\u003d\"en-US\"\u003e\n Squares and rectangles fascinated the famous Dutch painter Piet Mondriaan. One night, after producing the drawings in his \u0027toilet series\u0027 (where he had to use his toilet paper to draw on, for all of his paper was filled with squares and rectangles), he dreamt of filling a large rectangle with small rectangles of width 2 and height 1 in varying ways. \n \u003cbr\u003e\n \u003ccenter\u003e\n \u003cimg SRC\u003d\"CDN_BASE_URL/91cd2a849209448a71d50fa577e5d5ed?v\u003d1560874409\"\u003e\n \u003c/center\u003e \n \u003cbr\u003eExpert as he was in this material, he saw at a glance that he\u0027ll need a computer to calculate the number of ways to fill the large rectangle whose dimensions were integer values, as well. Help him, so that his dream won\u0027t turn into a nightmare!\n \u003c/div\u003e\n题意:正方形和长方形着迷荷兰著名画家彼得·蒙德里安。一天晚上,他在“厕所系列”(他必须用卫生纸来画画)的图纸上画出来,因为他的所有纸张都填满了正方形和长方形,他梦想用不同的方式填充一个长方形的大矩形,长方形的宽度为2,高度为1。\n\n正如他在这个材料中的专家,他一眼就看出他需要一台计算机来计算填充长方形的大小的方法,这些长方形的尺寸也是整数值。帮助他,使他的梦想不会变成一场噩梦!"}},{"title":"Input","value":{"format":"HTML","content":"\n \u003cdiv class\u003d\"ptx\" lang\u003d\"en-US\"\u003e\n The input contains several test cases. Each test case is made up of two integer numbers: the height h and the width w of the large rectangle. Input is terminated by h\u003dw\u003d0. Otherwise, 1\u0026lt;\u003dh,w\u0026lt;\u003d11. \n \u003c/div\u003e"}},{"title":"Output","value":{"format":"HTML","content":"\n \u003cdiv class\u003d\"ptx\" lang\u003d\"en-US\"\u003e\n \u003cimg SRC\u003d\"CDN_BASE_URL/9275391b5c2fd4e3cb556e4ab10140b5?v\u003d1560874409\" align\u003d\"right\"\u003eFor each test case, output the number of different ways the given rectangle can be filled with small rectangles of size 2 times 1. Assume the given large rectangle is oriented, i.e. count symmetrical tilings multiple times. \n \u003c/div\u003e"}},{"title":"Sample Input","value":{"format":"HTML","content":"\u003cpre class\u003d\"sio\"\u003e1 2\n1 3\n1 4\n2 2\n2 3\n2 4\n2 11\n4 11\n0 0\n\u003c/pre\u003e"}},{"title":"Sample Output","value":{"format":"HTML","content":"\u003cpre class\u003d\"sio\"\u003e1\n0\n1\n2\n3\n5\n144\n51205\n\u003c/pre\u003e"}}]}