5709: Big Data

内存限制:256 MB 时间限制:1 S 标准输入输出
题目类型:传统 评测方式:文本比较 上传者:
提交:2 通过:2

题目描述

小彼佳想给一些科学家送一份愚人节礼物。经过一番犹豫,他决定将他在Codeforce回合#153(Div.2)中作为礼物的阵列送给他们。科学家们对这份礼物感到高兴,并决定将一些重要的事实放到这个阵列中。以下是前几个事实:

· 世界上海拔最高的山峰是珠穆朗玛峰。它的高峰上升到8848米。

· 最大的棋盘游戏锦标赛由958名参与者组成,玩chapaev。

· 最大的在线数学竞赛由12766名参与者组成。

· 尼罗河被认为是世界上最长的河流。从布隆迪最远的溪流开始,它全长6695公里。

· 虽然没有洪水,但南美洲亚马逊河的主要河段最宽处可以达到1100公里的宽度。

· 天使瀑布是最高的瀑布。其最大的单落差为807米。

· 尼泊尔南齐上方的珠穆朗玛峰景观酒店 - 最接近珠穆朗玛峰ba se营地的村庄 - 处于创纪录的高度31962米

· 铀是所有天然元素中最重的。它最常见的同位素有一个包含146个中子的原子核。

· 最冷的永久居住地是西伯利亚村庄Oymyakon,二十世纪那里的温度为-68°C。

· 圈养的最长的蛇超过 25 英尺长。它的名字叫美杜莎。

· 喵喵上校保持着猫身上最长皮毛的世界纪录——近 134 厘米。

· 海獭每平方英寸最多可以有 10000 根毛发。这是动物王国中最密集的皮毛。

· 美国最大的州是阿拉斯加州;它的面积是663268平方英里

· 阿拉斯加的海岸线比美国其他49个州的总和还要长:它有154103英里长。

· 贝加尔湖是世界上最大的淡水湖。它的深度达到1642米,包含世界上约五分之一的未冻结淡水。

· 最丰富多彩的国旗是土库曼斯坦的国旗,有106种颜色。

Little Petya wanted to give an April Fools Day present to some scientists. After some hesitation he decided to give them the array that he got as a present in Codeforces Round #153 (Div.2). The scientists rejoiced at the gift and decided to put some important facts to this array. Here are the first few of the facts:

  • The highest mountain above sea level in the world is Mount Everest. Its peak rises to 8848 m.
  • The largest board game tournament consisted of 958 participants playing chapaev.
  • The largest online maths competition consisted of 12766 participants.
  • The Nile is credited as the longest river in the world. From its farthest stream in Burundi, it extends 6695 km in length.
  • While not in flood, the main stretches of the Amazon river in South America can reach widths of up to 1100 km at its widest points.
  • Angel Falls is the highest waterfall. Its greatest single drop measures 807 m.
  • The Hotel Everest View above Namche, Nepal − the village closest to Everest base camp — is at a record height of 31962 m
  • Uranium is the heaviest of all the naturally occurring elements. Its most common isotope has a nucleus containing 146 neutrons.
  • The coldest permanently inhabited place is the Siberian village of Oymyakon, where the temperature of -68°C was registered in the twentieth century.
  • The longest snake held in captivity is over 25 feet long. Its name is Medusa.
  • Colonel Meow holds the world record for longest fur on a cat − almost 134 centimeters.
  • Sea otters can have up to 10000 hairs per square inch. This is the most dense fur in the animal kingdom.
  • The largest state of USA is Alaska; its area is 663268 square miles
  • Alaska has a longer coastline than all of the other 49 U.S. States put together: it is 154103 miles long.
  • Lake Baikal is the largest freshwater lake in the world. It reaches 1642meters in depth and contains around one-fifth of the world’s unfrozen fresh water.
  • The most colorful national flag is the one of Turkmenistan, with 106 colors.
Input
The input will contain a single integer between 1 and 16.
Output
Output a single integer.
Examples
Input
1
Output
1
Input
7
Output
0

输入格式

输入将包含 1 到 16 之间的单个整数。

输出格式

输出单个整数。

输入样例 复制

7

输出样例 复制

0