#P260. 【例43.1】 八进制转十进制

【例43.1】 八进制转十进制

Description

Convert an octal number to its decimal representation.

Input Format

A single line containing a positive integer nn in octal representation (1n1091≤n≤10^9).

Output Format

An integer representing the corresponding decimal number.

Sample

11
9