Number ten

View as PDF



Problem type
Points: 100 (p) Time limit: 1.0s Memory limit: 1G Input: stdin Output: stdout

Nhập 2 số nguyên dương \(A, B\). Kiểm tra xem \(A * B\) có chia hết cho 10 hay không. Nếu chia hết cho 10 thì in 1 còn ngược lại thì in 0.

Input

  • Nhập 2 số nguyên dương \(A, B\) (\(1 \leq A, B \leq 100\)).

Output

  • In ra đáp án theo yêu cầu đề bài.

Example

Test 1
Input
2 5
Output
1

Comments

There are no comments at the moment.