Go: package main

import (
	"fmt"
	"math"
)

func main() {
	var a, b float64
	fmt.Scanf("%v %v", &a, &b)
	fmt.Println(math.Abs(a - b))
}

C++: #include <iostream>
#include <vector>
#include <algorithm>
#include <map>
#include <set>
#include <stack>
using namespace std;
typedef long long int ll;

int main(){
	cin.tie(nullptr);
	ios::sync_with_stdio(false);
	int x,y; cin >> x >> y;
	cout << abs(x-y) << endl;
}

C++: #include <bits/stdc++.h>

using namespace std;
#define TOSTRING(x) #x
#define SZ(x) (int)(x).size()
#define REP(i,n) for(int i=0;i<(n);i++)
#define FOR(i,a,b) for(int i=(a);i<(b);i++)
#define ALL(s) (s).begin(), (s).end()
#define dis distance
#define so(V) sort(ALL(V))
#define rev(V) reverse(ALL(V))
#define uni(v) v.erase( unique(ALL(v)) , v.end());

typedef long long unsigned int llu;
typedef long long ll;
typedef vector<int> vi;
typedef vector<ll> vll;
typedef vector<bool> vb;
typedef vector<vector <int> > vvi;
typedef vector<vb> vvb;
const double EPS = 1e-9;
const int MOD = 1e9+7;
const int INF = (1 << 29);
const ll LINF = 1e18;
const double PI = acos(-1);


typedef pair<int,bool> P;

int main(){
    cin.tie(0);
    ios::sync_with_stdio(false);
    int x1,x2;
    cin >> x1 >> x2;
    cout << abs(x1-x2) << endl;
    return 0;
}

C++: #include <iostream>
using namespace std;

int main(){
  int x1, x2, a;
  cin>> x1 >> x2;

  if ( x1 < x2 ){
    a=x2-x1;
    cout<< a << endl;
  }else{
    a=x1-x2;
    cout<< a << endl;
  }
  return 0;
}

C++: #include<bits/stdc++.h>
using namespace std;
int main(){
  int x,y,z;
  cin>>x>>y;

  z=x-y;
  if(z < 0){
    cout << z*-1 << endl;
  }else{
    cout << z << endl;
  }
  return 0;
}

C++: #include <bits/stdc++.h>
using namespace std;
using ll = long long;
const ll INF = 1e16;
const ll mod = 1000000007;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)

template<class T> inline bool chmax(T& a, T b) {
  if (a < b) {
    a = b;
    return 1;
  }
  return 0;
}
template<class T> inline bool chmin(T& a, T b) {
  if (a > b) {
    a = b;
    return 1;
  }
  return 0;
}
int ctoi(char c) {
  if (c >= '0' && c <= '9') {
    return c - '0';
  }
  return 0;
}
ll factorial(ll n) {
  if (n == 1) {
    return 1;
  }
  ll ans = factorial(n-1);
  return ans*n;
}
ll gcd(ll a, ll b) {
  if (b == 0) return a;
  return gcd(b, a%b);
}
ll lcm(ll a, ll b) {
  return (a/gcd(a, b))*b;
}
bool is_prime(ll n) {
  for (ll i = 2; i*i <= n; i++) {
    if (n%i == 0) return false;
  }
  return n != 1;
}
ll mod_pow(ll x, ll n, ll mod) {
  if (n == 0) return 1;
  ll res = mod_pow(x*x%mod, n/2, mod);
  if (n & 1) res = res * x % mod;
  return res;
}

int main() {
    ll n, m;
    cin >> n >> m;
    cout << abs(n-m) << endl;
}

C++: #include <bits/stdc++.h>
using namespace std;
int main(){
    int  x1,x2;
    cin>>x1>>x2;
    if(x1<x2){
        cout<<x2-x1<<endl;
        }else if(x1>x2){
            cout<<x1-x2<<endl;
        }else{
            cout<<"0"<<endl;
        }

}

C++: #include <iostream>
#include <algorithm>
#include <cmath>
#include <vector>
#include <string>

#define INF 100000;

int main() {
  int x1, x2;
  std::cin >> x1 >> x2;

  std::cout << std::abs(x1-x2) << "\n";

  return 0;
}

C++: /*
　　　　 ∧＿∧　にっぽんちゃちゃちゃ
　／＼（　・∀・）／ヽ
（ ●　と　　　つ　● ）　にっぽんちゃちゃちゃ
　＼/⊂、 ノ　　＼ノ
　　　　　し'
*/
#include <bits/stdc++.h>
using namespace std;
#define rep(i,n) for(int i=0;i<(int)(n);++i)
#define repone(i,n) for(int i=1;i<(int)(n);++i)
#define repo(i,o,n) for(int i=o;i<(int)(n);++i)
#define Rep(j,n) for(int j=0;j<(int)(n);++j)
#define Repo(j,o,n) for(int j=o;j<(int)(n);++j)
#define Repone(j,n) for(int j=1;j<(int)(n);++j)
#define all(v) (v).begin(),(v).end()
#define rall(v) (v).rbegin(),(v).rend()
#define int long long
#define MOD 1000000007
#define INF 9223372036854775807

signed main()
{
int x=0,y=0,z=0,w=0,n=0,d=0;
std::cin >> x>>y;
std::cout << abs(x-y) << '\n';
}

C++: #include<iostream>
using namespace std;
int main(){
  int x1,x2;
  cin>>x1>>x2;
  if(x1<=x2){
    cout<<x2-x1<<endl;
  }
  if(x1>x2){
    cout<<x1-x2<<endl;
  }
}

C++: #include <iostream>
using namespace std;
int main(void){
    int a, b; cin >> a >> b;
    
    cout << abs( a - b ) << endl;
}

C++: #include<iostream>
#include<algorithm>
using namespace std;
int main() {
	int a, b;
	cin >> a >> b;
	cout << abs(a - b) << endl;
}

C++: #include <iostream>
using namespace std;

int main(){
    int x1,x2;

    cin >> x1 >> x2;

    if(x1>=x2){
        cout << x1-x2 << endl; 
    }else{
        cout << x2-x1 << endl;
    }

    return 0;
}

C++: #include <iostream>
#include <cmath>
using namespace std;

int main() {
	int x1, x2; cin >> x1 >> x2; cout << abs(x1 - x2) << endl;
	return 0;
}

C++: #include <iostream>
using namespace std;
int main(void){
    
  int a, b;
  cin >> a >> b;
  if (a > b){
      cout << a-b << endl;
  }
  else if(a < b){
      cout << b-a << endl;
  }
    else if(a==b){
        cout << a-b << endl;
    }
}

C++: #include <bits/stdc++.h>
using namespace std;

int main (){
  int x1,x2;
  
  cin>>x1>>x2;
  if (x1>=x2)
    cout<<x1-x2<<endl;
  
  else if (x1<x2)
    cout<<x2-x1<<endl;
  return 0;
}

C++: #include<iostream>
using namespace std;
int main (){
  int x,X;
  cin >> x >> X ;
  if (x<X){
    cout << X-x << endl;
  }else if (X<=x){
    cout << x-X << endl;
  }
  
}

C++: #include"bits/stdc++.h"
using namespace std;


int main()
{
    int a,b;
    cin >> a >> b;
    cout << abs(a-b) <<endl;
    return 0;
}

C++: #include<stdio.h>
int main(void)
{
	int a,b,x;
	scanf("%d %d",&a,&b);
	if(a>b){
		x=a-b;
	}
	else{
		x=b-a;
	}
	printf("%d\n",x);
	return 0;
}

C++: #include <iostream>
#include <vector>
#include <string>
#include <algorithm>
#include <utility>
#include <numeric>
#include <array>
#include <cmath>
using namespace std;
//変数デバッグ
#define DEB(variable) cout << #variable << '=' << variable << endl

//for簡易表記(引数ミス防止)
#define FOR(LoopVariable,numberOFbegin,numberOFend) for (int LoopVariable = (numberOFbegin); (LoopVariable) < (numberOFend); (LoopVariable)++)
#define DEFOR(LoopVariable,numberOFbegin,numberOFend) for (int LoopVariable = (numberOFbegin); (LoopVariable) > (numberOFend); (LoopVariable)--)
#define REP(LoopVariable,numberOFend) for(int LoopVariable = 0;(LoopVariable)<(numberOFend);LoopVariable++)

constexpr long long int linf = numeric_limits<long long int>::max()-5;
constexpr int inf= numeric_limits<int>::max()-5;

int main(){

    int a,b;
    cin>>a>>b;
    cout<<abs(a-b)<<endl;

    return 0;
}

C++: #include <bits/stdc++.h>
using namespace std;

int main (){
  int x1, x2;
  cin>>x1>>x2;
  if( x1<x2 ) cout<<x2-x1<<endl;
  else cout<<x1-x2<<endl;
  return 0;
}

C++: #include <iostream>
using namespace std;
int main(void){
 int x,y;
 cin>>x>>y;

 if(x<y){
     cout<<y-x<<endl;
 } 
 if(x>y){
     cout<<x-y<<endl;
 }
 if(x==y){
     cout<<"0"<<endl;
 }
}

C++: #include<iostream>
using namespace std;

int main()
{
    int a, b;

    cin >> a >> b;

    if( a < b )
        cout << -1 * ( a - b ) << endl;
    else
        cout << a - b << endl;

    return 0;
}

C++: #include <bits/stdc++.h>
using namespace std;
int main(){
  long long n,m;
  cin >> n >> m;
  cout << abs(n-m) << endl;
  return 0;
}

C++: #include<iostream>
using namespace std ;

int main(){
    int  a,b ;
    cin >> a >> b ;
    if(a<b) cout << b-a << endl ;
    else cout << a-b << endl ;
}

C++: #include<iostream>
#include<iomanip>
#include<math.h>
#include<algorithm>
#include<functional>
#include<utility>
#include<queue>
#include<string.h>
#include<string>
#include<set>
#include<map>
#include<vector>
using namespace std;
typedef long long LL;
typedef pair<int, int> P;
LL N,M;

int main(){
    cin>>N>>M;

    cout<<abs(N-M)<<endl;
    return 0;
}

C++: #include <iostream>
#include <cstdlib>
using namespace std;

int main(){

	int x1, x2 ;
	cin >> x1 >> x2 ;
	
	cout << abs(x1 - x2) <<endl;
	
}

C++: #include<algorithm>
#include<iostream>
#include<cstdio>
#include<cmath>
using namespace std;
int a,b;
int main(void){
	int a,b;
	cin>>a>>b;
	cout<<abs(a-b)<<endl;
	return 0;
}