Олимпиадный тренинг

Задача 21871. Arithmetic operators and expressions


Write a program that calculates the value of the variable y according to the formula:
y = (1 - x+ 2,5x+ x4)2

The value of the variable x is set from the keyboard. Define the types of variables x and y yourself.
Output the value of the variable y on the screen.