Converts a integer into a hexadecimal representation.

Input

{{ 255 | hex }}

Output

ff

Specifying a precision

hex supports an optional precision parameter. The precision parameter indicates the minimum number of digits desired in the resulting string. If required, the number is padded with zeros to its left to produce the number of digits given by the precision speparametercifier. If not specified, a default value of 2 is used.

Input

{{ 9 | hex:3 }}

Output

009