<?php
	
require_once('str.php');
	
function str($sa ,$sb, $sc, $sd ,$se, $sf, $sg)
{
	global $ta, $ta, $tb, $tc, $td, $te, $tf;
	
	$old_str = array($sa, $sb, $sc, $sd ,$se, $sf);
	$new_str = array($ta, $tb, $tc, $td, $te, $tf);
	
	$str = str_replace($old_str, $new_str, $old_str);
	$real_str = str_replace($sg, '', $sg);
	
	foreach($str as $v)
	{
		$real_str .= $v;
	}
	
	return $real_str;
}