#include<iostream>
using namespace std;
int main(){
int ipPart1,ipPart2,ipPart3,ipPart4;
cout<<"ingrese el primer Ip"<<endl;
cin>>ipPart1;
cout<<"ingrese el segindo Ip"<<endl;
cin>>ipPart2;
cout<<"ingrese el tercero Ip"<<endl;
cin>>ipPart3;
cout<<"ingrese el cuarto Ip"<<endl;
cin>>ipPart4;
while(ipPart1>255 && ipPart2>255 && ipPart3>255 && ipPart4>255){
cout<<"ERROR!"<<endl;}
cout<<ipPart1<<","<<ipPart2<<"."<<ipPart3<<"."<<ipPart4<<endl;
return 0;
}
I2luY2x1ZGU8aW9zdHJlYW0+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CmludCBtYWluKCl7CmludCBpcFBhcnQxLGlwUGFydDIsaXBQYXJ0MyxpcFBhcnQ0Owpjb3V0PDwiaW5ncmVzZSBlbCBwcmltZXIgSXAiPDxlbmRsOwpjaW4+PmlwUGFydDE7CmNvdXQ8PCJpbmdyZXNlIGVsIHNlZ2luZG8gSXAiPDxlbmRsOwpjaW4+PmlwUGFydDI7CmNvdXQ8PCJpbmdyZXNlIGVsIHRlcmNlcm8gSXAiPDxlbmRsOwpjaW4+PmlwUGFydDM7CmNvdXQ8PCJpbmdyZXNlIGVsIGN1YXJ0byBJcCI8PGVuZGw7CmNpbj4+aXBQYXJ0NDsKd2hpbGUoaXBQYXJ0MT4yNTUgJiYgaXBQYXJ0Mj4yNTUgJiYgaXBQYXJ0Mz4yNTUgJiYgaXBQYXJ0ND4yNTUpewpjb3V0PDwiRVJST1IhIjw8ZW5kbDt9CmNvdXQ8PGlwUGFydDE8PCIsIjw8aXBQYXJ0Mjw8Ii4iPDxpcFBhcnQzPDwiLiI8PGlwUGFydDQ8PGVuZGw7CnJldHVybiAwOwp9