Types: D: int, Formula: str
Ranges: 1 ≤ D ≤ 50, 1 ≤ len(Formula) ≤ 80
Addtl Info: Formula consists of integers and operation symbols separated by a single space (half-width) character.