#PCBTAM0000020. Khoảng cách mã hai ký tự (Code Point Distance)

Khoảng cách mã hai ký tự (Code Point Distance)

Code Point Distance

Version: Phuoc Hung OJ Extended

Problem Statement

Given Unicode characters aa and bb, let xx and yy denote their respective Unicode code points. Define their code point distance as the absolute difference between xx and yy.

Compute that distance. It is independent of the input order and equals 00 for equal code points.

Input

The first line contains exactly one character aa; the second contains exactly one character bb.

Output

Print the nonnegative integer ∣ord⁡(a)−ord⁡(b)∣|\operatorname{ord}(a)-\operatorname{ord}(b)|.

Subtasks

  • Subtask 1 (100 points): a,ba,b are printable ASCII characters or characters from ĐắkLắkHàNộiBìnhAnViệtNamΩ€中.

Examples

Example 1

Input

A
C

Output

2

Explanation. A has code point 6565 and C has 6767: ∣65−67∣=2|65-67|=2.

Example 2

Input

Đ
A

Output

207

Explanation. Đ has code point 272272 and A has 6565: the distance is 207207.

Example 3

Input

0
0

Output

0

Explanation. Both characters are 0, so both have code point 4848 and their distance is 00.