"""
Pre-Programming 61 Solution
By Teerapat Kraisrisirikul
"""

def main():
    """ Main function """
    item, amount, cost = input(), int(input()), float(input())
    print(amount, item, '=', cost, 'Dollars')

main()
