Problem hidden
|This problem was hidden by Editorial Board member probably because it has incorrect language|version or invalid test data, or description of the problem is not clear.|

HO1013 - Шугаман 4

Өгсөн 4 оронтой тооны захын хоёр цифрийн нийлбэрийг ол.

Input

4 оронтой нэг тоо өгөгдөнө.

Output

Үр дүнг хэвлэ.

Example

Input:
8654

Output:
12

Нэмсэн:munkhbat
Огноо:2013-01-11
Хугацааны хязгаарлалт:1s
Эх кодын хэмжээний хязгаарлалт:50000B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Програмчлалын хэлүүд:Бүгд дараах хэлүүдээс бусад: ASM64 NCSHARP JULIA PYPY3

hide comments
2022-10-21 06:52:39
niga


Last edit: 2022-10-21 06:56:11
2022-10-21 06:45:14
mni deetliin comment bol gay

Last edit: 2022-10-21 06:56:10
2022-10-21 04:40:23
huul
#include <bits/stdc++.h>
using namespace std;
int main(){
int a,b,c,s;
cin>>a;
b=a%10;
c=a/1000;
s=b+c;
cout<<s<<endl;
}
2022-10-20 08:02:48





































































huulha boli























































































































guij bn chinii amidarliin tuluu





















































































































tam ruu ga ochoorai
2022-10-20 07:49:49
#include<bits/stdc++.h>
using namespace std;
int main (){
int x, s, z, p, i;
cin>>x;
z=x/1000;
p=x%10;
i=z+p;
cout<<i<<endl;
}
2022-10-05 07:34:53
#include <bits/stdc++.h>
using namespace std;
int main(){
int a,b,c,s;
cin>>a;
b=a%10;
c=a/1000;
s=b+c;
cout<<s<<endl;
}
2022-10-05 07:28:01
#include <bits/stdc++.h>
using namespace std;
int main(){
int a,b,c,s;
cin>>a;
b=a%10;
c=a/1000;
s=b+c;
cout<<s<<endl;
}

Last edit: 2022-10-05 07:35:10
2022-10-05 07:26:13
8654
2022-09-20 06:07:42


Last edit: 2022-09-26 06:55:48
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.