/*#include <stdio.h>
int main()
{
int a,b;
scanf("%d %d",&a,&b);
printf("%lld",(long long int)a
*/
/*
#include <stdio.h>
int main()
{
long long int a,b;
scanf("%lld %lld",&a,&b);
printf("%lld",a+b);
}
*/
/*
#include <stdio.h>
int main()
{
int a,b;
scanf("%d %d",&a,&b);
printf("%f",(float)a/b)
#include <stdio.h>
/*
int main()
{
int a,b;
scanf("%d %d",&a,&b);
printf("%d",a/b);
}
*/
/*
#include <stdio.h>
int main()
{
int a,b;
scanf("%d %d",&a,&b);
printf(
*/
/*
#include <stdio.h>
int main()
{
long long int a;
scanf("%lld",&a);
printf("%lld",++a);
}
*/
#include <stdio.h>
int main ()
{
int a,b;
scanf("%d %d",&a,&b);
printf("%lld\n",(long long int)a+b);
printf("%lld\n",(long long int)a-b);
printf("%lld\n",(long long int)a*b);
printf("%lld\n",(long long int)a/b);
printf("%lld\n",(long long int)a%b);
printf("%.2lf\n",(double)a/b);
}