cswork / OAOpen practice workspace

OracleOA #1

Adding Two Numbers

Estimated EasyJudge-ready

Topics (AI-labelled)Bits & Math

Given two finite decimal numbers, return the floor of their sum.

Input

One line with two positive decimal numbers a b. Full original bounds: 0.1<a,b<1000000, with at most 8 decimal places; this site's encoding requires an integer part and does not use exponent notation.

Output

Output a single integer, the answer.

Example 1

Input:

1.1 3.89

Output:

4

Example 2

Input:

0.10000001 0.89999998

Output:

0

Example 3

Input:

2.5 2.5

Output:

5

Example notes

The outputs of the three public examples are, in order: 4; 0; 5. They were verified by independent enumeration or direct simulation.

Editorial

Loading solution…