[Hà Nội - 24]1. Hoá học


Submit solution

Points: 100
Time limit: 1.0s
Memory limit: 256M

Problem type

Cho phương trình hóa học sau: 3Fe + 2O2 → Fe3O4

Cho biết số mol của Fe là A, số mol của O2 là B.

Yêu cầu:

Hãy lập trình đưa ra phần nguyên số mol của chất sản phẩm Fe3O4

Input:

Gồm 2 số tự nhiên A, B (A, B ≤ 10¹⁸)

Output:

Ghi kết quả bài toán.

Ví dụ:

Input

10 10

Output

3

Comments

There are no comments at the moment.