#include<bits/stdc++.h>
using namespace std;
int main()
{
	int a1,a2,a3;
	cin>>a1>>a2>>a3;
	int t;
	if(a1>a2)
	{
		t=a1;
		a1=a2;
		a2=t;
	}
	if(a2>a3)
	{
		t=a2;
		a2=a3;
		a3=t;
	}
	if(a1>a2)
	{
		t=a1;
		a1=a2;
		a2=t;
	}
	if(a3-a2==a2-a1) cout<<"Yes";
	else cout<<"No";
}
#include<iostream>
#include<string>
using namespace std;
main()
{
	int n,x,a=0,b=0;
	string s;
	cin>>n>>x;
	cin>>s;
	for(int i=0; i<n; i++)
	{
		if(s[i]=='o')
			{
				x++;
			}
		else if(x>0)
		{
			x--;
		}
	}
   cout<<x<<endl;
	
}

